Untitled
user_5668965
python
09/29/2024 3:00 PM
176 B
23
Indexable
t = int(input())
for i in range(t):
x, y = map(int, input().split())
if(x - y > 1):
print('YES')
else:
print('NO')
Editor is loading...
Leave a Comment
t = int(input())
for i in range(t):
x, y = map(int, input().split())
if(x - y > 1):
print('YES')
else:
print('NO')