HDU 5054 Alice and Bob

#include <cstdio>
int main(){
    int n,m,x,y;
    while(~scanf("%d%d%d%d",&n,&m,&x,&y)){
        if(2*x==n&&2*y==m)puts("YES");else puts("NO");
    }return 0;
}
原文地址:https://www.cnblogs.com/forever97/p/4024497.html