运行 ID | 作者 | 题号 | 测评结果 | 分数 | 时间 | 内存 | 语言 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
473024 | hxzhz | 1019 - 计算数的和 | 编译错误 | 0 | 0 MS | 0 KB | C | 218 | 1年前 |
Main.c: In function ‘main’:
Main.c:4:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘-’ token
4 | int n=1,t-0;
| ^
Main.c:5:14: error: expected expression before ‘)’ token
5 | while(n!=)
| ^
Main.c:10:11: error: ‘t’ undeclared (first use in this function)
10 | t+=n;
| ^
Main.c:10:11: note: each undeclared identifier is reported only once for each function it appears in