Submission #00233
ソースコード
ステータス
| 項目 |
データ |
| 問題 |
0005 - All Products |
| ユーザー名 |
r2011
|
| 投稿日時 |
2020-06-16 17:59:43 |
| 言語 |
C |
| 状態 |
Compile Error |
| 得点 |
0
|
| ソースコード長 |
191 Byte |
| 最大実行時間 |
-
|
| 最大メモリ使用量 |
|
コンパイルメッセージ
./Main.c: In function ‘main’:
./Main.c:11:1: error: variable-sized object may not be initialized
int a[i]=all
^~~
./Main.c:11:6: error: redeclaration of ‘a’ with no linkage
int a[i]=all
^
./Main.c:4:5: note: previous definition of ‘a’ was here
int a[100]={};
^
./Main.c:12:1: error: expected ‘,’ or ‘;’ before ‘printf’
printf("%d\n",a*all);
^~~~~~
セット
テストケース