Description
给出两个a和b,如果(a+b)%86=0则输出yes,否则输出no
Input
多组用例,每组用例占一行包括两个整数a和b,以文件尾结束输入
Output
对于每组用例,如果(a+b)%86=0则输出yes,否则输出no
Sample Input
1 1
8600 8600
Sample Output
no
yes
Solution
纯净水~
Code
#include<stdio.h>
int main()
{
int a,b;
while(~scanf("%d%d",&a,&b))
{
if((a+b)%86)printf("no\n");
else printf("yes\n");
}
return 0;
}