Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<bits/stdc++.h>
- using namespace std;
- int main(){
- int t;
- cin>>t;
- while(t--){
- int n, m;
- cin>>n>>m;
- if(n>=m && n%2==m%2)
- cout<<"Yes\n";
- else
- cout<<"No\n";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement