Submission #31710
ソースコード
ステータス
コンパイルメッセージ
./Main.cpp:2:10: error: expected ‘:’ before ‘static’
public static void main(String[] args){
^~~~~~
./Main.cpp:2:27: error: ‘String’ has not been declared
public static void main(String[] args){
^~~~~~
./Main.cpp:2:36: error: expected ‘,’ or ‘...’ before ‘args’
public static void main(String[] args){
^~~~
./Main.cpp:5:2: error: expected ‘;’ after class definition
}
^
;
./Main.cpp: In static member function ‘static void Main::main(int*)’:
./Main.cpp:3:5: error: ‘System’ was not declared in this scope
System.out.println("Hello World!");
^~~~~~
セット
テストケース