mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-05 12:38:47 +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;
|
||
|
}
|