运行 ID | 作者 | 题号 | 测评结果 | 分数 | 时间 | 内存 | 语言 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
495223 | aka477 | 1036 - A+B 输入输出练习 IV | 编译错误 | 0 | 0 MS | 0 KB | C++ | 228 | 1年前 |
Main.cc: In function ‘int main()’:
Main.cc:6:10: error: expected initializer before ‘==’ token
6 | int s==0;
| ^~
Main.cc:11:5: error: ‘s’ was not declared in this scope
11 | s+=a[i];}
| ^
Main.cc:12:11: error: ‘s’ was not declared in this scope
12 | cout<<s<<endl;}
| ^