为什么5个WA
#include<cstdio>
int main()
{
int team,star;
char tc,sc;
while(scanf("%c",&sc)!=EOF)
{
if(int(sc)==13)
continue;
star=star+sc-64;
}
while(scanf("%c",&tc)!=EOF)
{
if(int(tc)==13)
continue;
team=team+tc-64;
}
team%=47,star%=47;
if(team==star)
printf("GO");
else
printf("STAY");
return 0;
}