Submission #84060
ソースコード
ステータス
項目 |
データ |
問題 |
0437 - 素数 |
ユーザー名 |
r2422
|
投稿日時 |
2025-06-02 13:33:40 |
言語 |
C |
状態 |
Compile Error |
得点 |
0
|
ソースコード長 |
438 Byte |
最大実行時間 |
-
|
最大メモリ使用量 |
|
コンパイルメッセージ
./Main.c: In function ‘main’:
./Main.c:7:5: error: unknown type name ‘bool’; did you mean ‘_Bool’?
bool a[N+1] = {};
^~~~
_Bool
./Main.c:7:5: error: variable-sized object may not be initialized
./Main.c:13:40: error: ‘true’ undeclared (first use in this function)
a[j] = true;
^~~~
./Main.c:13:40: note: each undeclared identifier is reported only once for each function it appears in
セット
テストケース