'commit'
This commit is contained in:
14
TangDou/Mkx/2023-08-20-9.cpp
Normal file
14
TangDou/Mkx/2023-08-20-9.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
int main() {
|
||||
for (int i = 1;; i++) {
|
||||
int a = 429 % i, b = 791 % i, c = 500 % i;
|
||||
if (a == c + 5 && b == 2 * c) {
|
||||
cout << i << endl;
|
||||
cout << "a=" << a << ",b=" << b << ",c=" << c << endl;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user