General
 
 
# Author Problem Lang Verdict Time Memory Sent Judged  
78930616 Practice:
LethalPuppy
1260B - 9 Python 3 Accepted 108 ms 0 KB 2020-05-04 07:15:20 2020-05-04 07:15:20
→ Source
for _ in range(int(input())):
    a, b = sorted(map(int, input().split()))
    print("YES" if ((a+b) % 3 == 0 and a*2 >= b) else "NO")
?
Time: ? ms, memory: ? KB
Verdict: ?
Input
?
Participant's output
?
Jury's answer
?
Checker comment
?
Diagnostics
?
Click to see test details