题解 | 复杂的最大公约数喵
复杂的最大公约数
https://www.nowcoder.com/practice/992a24ff72be4991bf099ae681bec68b
太复杂了喵,把本喵难哭了喵~
#include <iostream>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
string a;
string b;
cin >> a >> b;
if (a == b) {
cout << a;
return 0;
}
cout << '1';
}
// 64 位输出请用 printf("%lld")

查看22道真题和解析