S001-AC.cc 145 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 #include <iostream> using namespace std; int main() { int n; cin >> n; for(int i = 0; i < n+1; i++) { cout << i << endl; } return 0; }