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

View File

@@ -0,0 +1,21 @@
#include <bits/stdc++.h>
using namespace std;
int main() {
//ios::sync_with_stdio(false); //读入输出优化的强迫症
int a, b, c;
cin >> a >> b >> c;
bool found = false;
for (int i = 10; i < 100; i++) {
if (i % 3 == a && i % 5 == b && i % 7 == c) {
found = true;
cout << i << endl;
}
}
if (!found) {
cout << "No answer" << endl;
}
return 0;
}