mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-23 22:28:48 +00:00
708. 偶数
https://www.acwing.com/problem/content/submission/code_detail/14061105/
This commit is contained in:
parent
7dbd0d35af
commit
12cea7d0b8
15
AcWing/708/708.cpp
Normal file
15
AcWing/708/708.cpp
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
using std::cin;
|
||||||
|
using std::cout;
|
||||||
|
const char endl = '\n';
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
std::ios::sync_with_stdio(false);
|
||||||
|
|
||||||
|
for (int i = 2; i <= 100; i += 2) {
|
||||||
|
cout << i << endl;
|
||||||
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user