Submission #15441
ソースコード
ステータス
| 項目 |
データ |
| 問題 |
0437 - 素数 |
| ユーザー名 |
YUSAKU(ei1718)
|
| 投稿日時 |
2017-04-25 18:00:12 |
| 言語 |
C++11 |
| 状態 |
Compile Error |
| 得点 |
0
|
| ソースコード長 |
341 Byte |
| 最大実行時間 |
-
|
| 最大メモリ使用量 |
|
コンパイルメッセージ
./Main.cpp: In function ‘int main()’:
./Main.cpp:9:35: error: expected ‘)’ before ‘;’ token
for(prime=b;prime!=0&&a!=b;a++;){
^
./Main.cpp:9:36: error: expected primary-expression before ‘)’ token
for(prime=b;prime!=0&&a!=b;a++;){
^
./Main.cpp: At global scope:
./Main.cpp:22:3: error: expected unqualified-id before ‘return’
return(0);
^
./Main.cpp:23:1: error: expected declaration before ‘}’ token
}
^
セット
テストケース