| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 153826 | 李一凡 | 12for循环练习I | C++ | Compile Error | 0 MS | 0 KB | 135 | 2026-05-24 09:54:07 |
#include<bits/stdc++.h> using namespace std; int main() { int n; for(int n=0;n<5) cout<<n<<endl; return 0; }
Main.cc: In function 'int main()':
Main.cc:6:20: error: expected ';' before ')' token
for(int n=0;n<5)
^
Main.cc:5:9: warning: unused variable 'n' [-Wunused-variable]
int n;
^