qftesrjvfeytrvuyiytvrtuyvftvvhvuyyvut

n = int(input())

for _ in range(n):
x, y = map(int, input().split())
s = x + y
if str(s) == str(s)[::-1]:
print(1)
else:
print(0)

Bình luận

Mới nhất
Tải bình luận...

Không có bình luận nào.