0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-23 21:08:47 +00:00
Baoshuo Ren 2021-08-01 19:35:56 +08:00 committed by Baoshuo Ren
parent da3e3af625
commit 34d225bd06
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

15
AcWing/721/721.cpp Normal file
View File

@ -0,0 +1,15 @@
#include <bits/stdc++.h>
using namespace std;
int n;
int main() {
while (cin >> n, n) {
for (int i = 1; i <= n; i++) {
cout << i << ' ';
}
cout << endl;
}
return 0;
}