Untitled
Anonymous
plain_text
09/19/2022 3:32 PM
368 B
26
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...