General
 
 
# 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
→ Source
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")
?
Time: ? ms, memory: ? KB
Verdict: ?
Input
?
Participant's output
?
Jury's answer
?
Checker comment
?
Diagnostics
?
Click to see test details