?
# | Author | Problem | Lang | Verdict | Time | Memory | Sent | Judged | |
---|---|---|---|---|---|---|---|---|---|
68094882 |
Practice: sanjailal4 |
1260B - 9 | PyPy 3 | Accepted | 139 ms | 8 KB | 2020-01-02 23:05:46 | 2020-01-02 23:05:46 |
for i in range(int(input())): a,b=map(int,input().split()) if a>b:a,b=b,a print("yes" if ((a+b)%3==0)and b<=a*2 else "no")
?
?
?
?