0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-24 17:28:48 +00:00
OI-codes/AcWing/721/721.cpp

16 lines
218 B
C++
Raw Normal View History

#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;
}