This commit is contained in:
HuangHai
2025-08-30 18:35:01 +08:00
commit 1f397eca87
6258 changed files with 1487241 additions and 0 deletions

16
TangDou/XiTi/1108.cpp Normal file
View File

@@ -0,0 +1,16 @@
#include <bits/stdc++.h>
using namespace std;
int main() {
for (int a = 0; a <= 30; ++a) {
for (int b = 0; b <= 30; ++b) {
for (int c = 0; c <= 30; ++c) {
if (a + b + c == 30 && a / 2 + b / 3 * 2 + c / 7 * 5 == 20 && a % 2 == 0 && b % 3 == 0 && c % 7 == 0) {
cout << a << " " << b << " " << c << endl;
}
}
}
}
return 0;
}