| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 141988 | gqj | 12奇数和与偶数和 | C++ | Compile Error | 0 MS | 0 KB | 142 | 2025-12-29 16:54:37 |
#include<iostream> using namespace std; int main(){ int n,m,i; cin>>n>>m; for(n;n<=m;n++){ if(n%2==0){ i=n/2; cout<< } }
Main.cc: In function 'int main()':
Main.cc:6:6: warning: statement has no effect [-Wunused-value]
for(n;n<=m;n++){
^
Main.cc:10:1: error: expected primary-expression before '}' token
}
^
Main.cc:11:1: error: expected '}' at end of input
}
^