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

posted @ 2011-03-23 21:59  CoderZhuang  阅读(126)  评论(0编辑  收藏  举报