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,n,i,j,k,x,a,b,ans,y;
- scanf("%d",&t);
- for(i=0;i<t;i++){
- scanf("%d %d",&x,&y);
- if(x==1){
- if(y==1)cout<<"YES\n";//printf dite paris
- else cout<<"NO\n";//printf
- continue;
- }
- if(x==2||x==3){
- if(y==1||y==2||y==3)cout<<"YES\n";//printf
- else cout<<"NO\n";//printf
- continue;
- }
- else cout<<"YES\n";//printf
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement