hdu 3752 Is the one been second-killed first? 菜鸟杯

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

#include<stdio.h>
#include<stdlib.h>
main()
{
      int t,m,n;
      scanf("%d",&t);
      while(t--)
      {
                scanf("%d%d",&m,&n);
                if(m%2==1||n>m/2)
                printf("NO\n");
                else
                printf("YES\n");
      }
     // system("pause");
}
       

你可能感兴趣的:(first)