Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<bits/stdc++.h>
- using namespace std;
- int main()
- {
- ios_base::sync_with_stdio(0);
- cin.tie(0);
- int t;
- cin>>t;
- while(t--)
- {
- unsigned long long int a,b;
- cin>>a>>b;
- if(a-b>=2) cout<<"YES\n";
- if(a-b<2) cout<<"NO\n";
- }
- return 0;
- }
Add Comment
Please, Sign In to add comment