0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2025-01-23 16:31:58 +00:00

D - At Most 3 (Contestant ver.)

https://atcoder.jp/contests/abc251/submissions/31671815
This commit is contained in:
Baoshuo Ren 2022-05-14 20:27:23 +08:00
parent 892ccd3d03
commit 6a7bdc6858
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

27
AtCoder/ABC251/D/D.cpp Normal file
View File

@ -0,0 +1,27 @@
#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;
}