mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-27 21:16:27 +00:00
16 lines
221 B
C++
16 lines
221 B
C++
|
#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;
|
||
|
}
|