Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
158346 王艺博 12for循环练习I C++ Accepted 3 MS 272 KB 152 2026-08-21 10:27:26

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main () { int a; int n; cin>>n; for(a=1;a<=n;a+=1){ cout<<a<<endl; } return 0; }