Guest User

Untitled

a guest
Oct 8th, 2019
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. ios_base::sync_with_stdio(0);
  7. cin.tie(0);
  8. int t;
  9. cin>>t;
  10. while(t--)
  11. {
  12. unsigned long long int a,b;
  13. cin>>a>>b;
  14. if(a-b>=2) cout<<"YES\n";
  15. if(a-b<2) cout<<"NO\n";
  16. }
  17. return 0;
  18. }
Add Comment
Please, Sign In to add comment