0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-18 04:51:59 +00:00
OI-codes/AtCoder/ABC251/D/D.cpp

28 lines
423 B
C++

#include <iostream>
using std::cin;
using std::cout;
const char endl = '\n';
int main() {
std::ios::sync_with_stdio(false);
cout << 297 << endl;
for (int i = 1; i <= 99; i++) {
cout << i << ' ';
}
for (int i = 100; i <= 9900; i += 100) {
cout << i << ' ';
}
for (int i = 10000; i <= 990000; i += 10000) {
cout << i << ' ';
}
cout << endl;
return 0;
}