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;
}
posted @ 2016-07-02 22:17  see_you_later  阅读(164)  评论(0编辑  收藏  举报