编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#1696 | #993. 汉诺塔问题 | Compile Error | 0 | 0 ms | 0 K | C / 651 B | t330026070 | 2023-10-15 16:43:15 |
int a int
编译信息
/sandbox/1/a.c:2:10: error: expected ';' after top level declarator
int a[10]
^
;
/sandbox/1/a.c:32:10: error: use of undeclared identifier 'j'
if((a[j]>999)||p2)
^
/sandbox/1/a.c:34:19: error: use of undeclared identifier 'j'
printf("%d",a[j]);
^
/sandbox/1/a.c:35:15: error: use of undeclared identifier 'j'
}else if(a[j]>99)
^
/sandbox/1/a.c:37:20: error: use of undeclared identifier 'j'
printf("0%d",a[j]);
^
/sandbox/1/a.c:38:15: error: use of undeclared identifier 'j'
}else if(a[j]>9)
^
/sandbox/1/a.c:40:21: error: use of undeclared identifier 'j'
printf("00%d",a[j]);
^
/sandbox/1/a.c:43:22: error: use of undeclared identifier 'j'
printf("000%d",a[j]);
^
8 errors generated.