?
# | Author | Problem | Lang | Verdict | Time | Memory | Sent | Judged | |
---|---|---|---|---|---|---|---|---|---|
66538225 |
Practice: Aita_Venkata_Rishmitha |
1260B - 9 | PyPy 3 | Accepted | 124 ms | 16 KB | 2019-12-09 13:29:11 | 2019-12-09 13:29:11 |
for _ in[0]*int(input()):a,b=map(int,input().split());print('NYOE S'[(a+b)%3<1and a<=2*b<=4*a::2])
?
?
?
?