Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
96678 | 刘明沅 | 12for循环练习I | C++ | Compile Error | 0 MS | 0 KB | 145 | 2024-11-09 11:48:45 |
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; for(int i=0;i<=n;i++){ cout<<i<<endl; } return 0;
Main.cc: In function 'int main()': Main.cc:9:10: error: expected '}' at end of input return 0; ^