| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 153833 | 李一凡 | 12for循环练习I | C++ | Compile Error | 0 MS | 0 KB | 150 | 2026-05-24 10:00:51 |
#include<bits/stdc++.h> using namespace std; int main() { int n; for(int n=0;n<5) { cout<<i<<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:7:12: error: 'i' was not declared in this scope
cout<