mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-08 13:58:48 +00:00
710. 六个奇数
https://www.acwing.com/problem/content/submission/code_detail/6845986/
This commit is contained in:
parent
33369cf3dc
commit
d58318e12c
12
AcWing/710/710.cpp
Normal file
12
AcWing/710/710.cpp
Normal file
@ -0,0 +1,12 @@
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
int x;
|
||||
cin >> x;
|
||||
for (int i = x; i <= x + 11; i++) {
|
||||
if (i & 1) cout << i << endl;
|
||||
}
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user