Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
111441 | 晏莞煜 | 12for循环练习I | C++ | Accepted | 3 MS | 272 KB | 139 | 2025-03-02 09:46:32 |
#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; }
------Input------
4
------Answer-----
1 2 3 4
------Your output-----