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;
}
posted @ 2014-10-14 15:23  forever97  阅读(115)  评论(0编辑  收藏  举报