编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#3540 | #1006. 超级强迫症 | Compile Error | 0 | 0 ms | 0 K | C / 468 B | s230026068 | 2023-11-25 15:36:42 |
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int
编译信息
/sandbox/1/a.c:9:15: error: expected ';' at end of declaration
int length[N]
^
;
/sandbox/1/a.c:14:9: error: expected identifier or '('
for(int=1;i<N;i++){
^
/sandbox/1/a.c:14:12: error: expected ';' in 'for' statement specifier
for(int=1;i<N;i++){
^
/sandbox/1/a.c:14:12: error: use of undeclared identifier 'i'
/sandbox/1/a.c:14:16: error: use of undeclared identifier 'i'
for(int=1;i<N;i++){
^
/sandbox/1/a.c:15:13: error: use of undeclared identifier 'i'
if(length[i]!=length[0]){
^
6 errors generated.