?
# | Author | Problem | Lang | Verdict | Time | Memory | Sent | Judged | |
---|---|---|---|---|---|---|---|---|---|
82698611 |
Practice: Naman_Tyagi |
1260B - 9 | PyPy 3 | Accepted | 140 ms | 4 KB | 2020-06-06 14:15:46 | 2020-06-06 14:15:46 |
for nt in range(int(input())): a,b = map(int,input().split()) if (a+b)%3!=0 or min(a,b)*2<max(a,b): print ("NO") continue print ("YES")
?
?
?
?