Run ID:88033

提交时间:2024-08-17 08:19:15

Online Judge C++题库系统 OJ 首页 问题列表 状态 排行榜 黎贤超 首页 问题列表 12for循环练习I 12for循环练习I 输入一个整型数字n(0<n<100),1到n的值 Input 一行,一个数字n。 Output 1到n的值,竖向排列 Examples input 5 output 1 2 3 4 5 来源 lema Time limit 1 second Memory limit 128 MB 提交记录 1个月前 Accepted 1个月前 Wrong Answer × Run ID:78777 提交时间:2024-06-29 10:01:31 #include<iostream> using namespace std; int main(){ int n; cin>>n; for(int i=1;i<=n;i++) { cout<<i<<endl; } return 0; }