Untitled
unknown
plain_text
3 years ago
275 B
18
Indexable
# cook your code here
t = int(input())
while (t>0):
n,x=map(int,input().split())
if (n%2==0):
print("YES")
if ((n%2 !=0) & (x%2 == 0)):
print("NO")
if ( n%2 != 0 & x%2 != 0):
print("YES")
if (x==1):
print("YES")
t = t-1Editor is loading...