HDU 3752 Is the one been secondkilled first?

http://acm.hdu.edu.cn/showproblem.php?pid=3752

捅死一只萌萌~

View Code
#include <stdio.h>
int main()
{
    int t,m,n,i;
    scanf("%d",&t);
    while(t--)
    {
        scanf("%d%d",&m,&n);
        for(i=0;i<n-1;i++)
            m-=2;
        puts(m%2?"NO":"YES");
    }
    return 0;
}
原文地址:https://www.cnblogs.com/xiaohongmao/p/2458681.html