Files
python/TangDou/XiTi/1247.cpp

15 lines
278 B
C++
Raw Normal View History

2025-08-30 18:35:01 +08:00
#include <bits/stdc++.h>
using namespace std;
int main() {
for (int a = 1; a <= 60000; a++) {
int b = 60000 - a;
if (a / 3 == 3 * (b / 6) + 3000) {
cout << a << " " << b << endl;
break;
}
}
return 0;
}