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