'commit'
This commit is contained in:
17
TangDou/XiTi/1112.cpp
Normal file
17
TangDou/XiTi/1112.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
for (int i = 0; i <= 36; ++i) {
|
||||
for (int j = 0; j <= 36; ++j) {
|
||||
for (int k = 0; k <= 36; ++k) {
|
||||
if (i + j + k == 36 && i * 4 + j * 3 + k / 2 == 36 && k % 2 == 0) {
|
||||
cout << i << " " << j << " " << k << endl;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user