# |
Author |
Problem |
Lang |
Verdict |
Time |
Memory |
Sent |
Judged |
|
251277221 |
Practice:
Kholid |
1260B
- 9
|
C++17 (GCC 7-32)
|
Accepted
|
15 ms
|
4 KB
|
2024-03-14 19:37:19 |
2024-03-14 19:37:19 |
|
#include<iostream>
int t,a,b; main(){for(std::cin>>t;t--;puts(a>2*b||b>2*a||(2*b-a)%3||(2*a-b)%3 ? "No":"Yes")) std::cin>>a>>b;}
Click to see test details