Files
python/TangDou/LuoGuBook/P1835_Prepare.cpp
HuangHai 1f397eca87 'commit'
2025-08-30 18:35:01 +08:00

13 lines
304 B
C++

#include <bits/stdc++.h>
using namespace std;
typedef long long LL;
int main() {
//数学知识储备
//【大于L,并且是p的倍数,最小整数是多少?】
int p = 3;
for (LL L = 100; L <= 200; L++)
cout << max(2ll, (L - 1) / p + 1) * p << endl;
return 0;
}