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;
}

 

相关文章:

  • 2021-08-28
  • 2021-09-18
  • 2022-12-23
  • 2021-10-12
  • 2021-08-15
  • 2021-12-27
  • 2021-09-21
  • 2022-12-23
猜你喜欢
  • 2021-04-16
  • 2022-12-23
  • 2022-12-23
  • 2021-05-29
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
相关资源
相似解决方案