| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 132775 | 何兴驰 | 12for循环练习I | C++ | Compile Error | 0 MS | 0 KB | 126 | 2025-10-12 12:00:59 |
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; for(i=1;i<=n;i++){ cout<<n<<endl; } }
Main.cc: In function 'int main()':
Main.cc:6:6: error: 'i' was not declared in this scope
for(i=1;i<=n;i++){
^