General
 
 
# Author Problem Lang Verdict Time Memory Sent Judged  
65849265 Contestant:
kotprogrammist
1260B - 7 Python 3 Accepted 109 ms 8 KB 2019-11-27 17:43:18 2019-11-28 11:14:03
→ Source
for i in range(int(input())):
    a,b = map(int,input().split())
    print('YeS' if (a+b)%3 == 0 and max(a,b) <= 2*min(a,b) else 'No')
?
Time: ? ms, memory: ? KB
Verdict: ?
Input
?
Participant's output
?
Jury's answer
?
Checker comment
?
Diagnostics
?
Click to see test details