mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-12-13 08:26:29 +00:00
13 lines
181 B
C++
13 lines
181 B
C++
#include <bits/stdc++.h>
|
|
|
|
using namespace std;
|
|
|
|
int main() {
|
|
int x;
|
|
cin >> x;
|
|
for (int i = 1; i <= x; i++) {
|
|
if (i & 1) cout << i << endl;
|
|
}
|
|
return 0;
|
|
}
|