作者在 2013-04-29 16:12:09 发布以下内容
#include <stdio.h>
int main(void)
{
int n, m, tmp;
while(scanf("%d %d", &n, &m) == 2)
{
if(n == -1 && m == -1)
break;
while(m != 0)
{
tmp = n % m;
n = m;
m = tmp;
}
if(m == 0)
printf("YES\n");
else
printf("POOL HAHA\n");
}
return 0;
}