'commit'
This commit is contained in:
14
TangDou/XiTi/1247.cpp
Normal file
14
TangDou/XiTi/1247.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user