[2016-04-20][codeforces][664][A][Complicated GCD]
#include<cstdio>
#include<cstring>
using namespace std;
const int maxn = 150;
char s1[maxn],s2[maxn];
int main(){
scanf("%s%s",s1,s2);
puts(strcmp(s1,s2)?"1":s1);
return 0;
}
[2016-04-20][codeforces][664][A][Complicated GCD]
原文:http://www.cnblogs.com/qhy285571052/p/e1449ff5163087afb61e0d39730d1c59.html