My issue
i provided this problem with this answer:
t = int(input())
for i in range(t):
A, B = map(int, input().split())
for i in range(B):
if A==B:
print(“YES”)
break
if i%2==0:
A+=1
else:
A+=2
else:
print(“NO”)
but…the time limit exceeded error occurs…so is there any other code for this
My code
Learning course: Python with Data structures
Problem Link: Practice Problem in - CodeChef