杭电 hdu 2101

A + B Problem Too:

#include<iostream>
using namespace std;
int main(){
    int a,b;
    while(cin>>a>>b){
        if((a+b)%86==0)
            cout<<"yes"<<endl;
        else
            cout<<"no"<<endl;
    }
    return 0;
}


你可能感兴趣的:(ACM,HDU,杭电,2101)