664A - Complicated GCD
题意真是七零八落,乱七八糟。盲目瞎写,水过就好?
#include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
char s1[1005],s2[1005];
int main()
{
while(~scanf("%s%s", s1, s2))
{
if(strcmp(s1, s2)==0)
printf("%s\n", s1);
else
printf("1\n");
}
return 0;
}