| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 123344 | 赵梓渊 | 12for循环练习I | C++ | Compile Error | 0 MS | 0 KB | 173 | 2025-06-29 12:53:06 |
#include<bits/stdc++.h> using namespace std; int main() { int n = 20; for (int i = 1; i <= n; i++) { cout << i << " "; } cout << i << endl; return 0; }
Main.cc: In function 'int main()':
Main.cc:8:10: error: 'i' was not declared in this scope
cout << i << endl;
^