# |
Author |
Problem |
Lang |
Verdict |
Time |
Memory |
Sent |
Judged |
|
249703727 |
Practice:
ravi63 |
1260B
- 9
|
C++17 (GCC 7-32)
|
Accepted
|
15 ms
|
4 KB
|
2024-03-05 11:56:29 |
2024-03-05 12:35:43 |
|
#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