| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 142923 | 王一德 | A+B 输入输出练习I | C++ | Compile Error | 0 MS | 0 KB | 115 | 2026-01-11 17:09:17 |
#include<iostream> using namespace std; int main(){ int a[10],b[10]; for(int i= return 0; }
Main.cc: In function 'int main()':
Main.cc:7:2: error: expected primary-expression before 'return'
return 0;
^
Main.cc:8:1: error: expected primary-expression before '}' token
}
^
Main.cc:8:1: error: expected ';' before '}' token
Main.cc:8:1: error: expected primary-expression before '}' token
Main.cc:8:1: error: expected ')' before '}' token
Main.cc:8:1: error: expected primary-expression before '}' token
Main.cc:5:13: warning: unused variable 'i' [-Wunused-variable]
for(int i=
^
Main.cc:4:9: warning: unused variable 'a' [-Wunused-variable]
int a[10],b[10];
^
Main.cc:4:15: warning: unused variable 'b' [-Wunused-variable]
int a[10],b[10];
^