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

20 lines
450 B
C++

#include <bits/stdc++.h>
using namespace std;
int main() {
int count = 0;
for (int i = 1; i < 100; ++i) {
for (int j = 1; j < 50; ++j) {
for (int k = 1; k < 20; ++k) {
if (i + j * 2 + 5 * k == 100) {
//cout << i << " " << j << " " << k << endl;
count++;
}
}
}
}
cout << count << endl;
return 0;
}