Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
114038 | 赵科涵 | 12for循环练习I | C++ | Compile Error | 0 MS | 0 KB | 156 | 2025-03-19 10:00:22 |
include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; for(int i=1;i<=n;i++){ cout<<i<<endl; } return 0; }
Main.cc:1:1: error: 'include' does not name a type include ^ Main.cc: In function 'int main()': Main.cc:6:5: error: 'cin' was not declared in this scope cin>>n; ^ Main.cc:8:3: error: 'cout' was not declared in this scope cout<