编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#18198 | #2015. shenchuan的CF段位 | Compile Error | 0 | 0 ms | 0 K | C (NOI) / 1.4 K | 192024213485 | 2024-10-19 14:49:20 |
int
编译信息
/sandbox/1/a.c: In function 'main':
/sandbox/1/a.c:5:11: error: size of array 'arr' is too large
float arr[1000000000];
^
/sandbox/1/a.c:7:5: error: 'for' loop initial declarations are only allowed in C99 mode
for(int a=0;a<n;a++)
^
/sandbox/1/a.c:7:5: note: use option -std=c99 or -std=gnu99 to compile your code
/sandbox/1/a.c:11:5: error: 'for' loop initial declarations are only allowed in C99 mode
for(int b=0;b<n;b++)
^
/sandbox/1/a.c:6:10: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^