Please read the new rule regarding the restriction on the use of AI tools. ×

solution

Revision en2, by dear_earth, 2022-10-20 20:07:29

[contest:https://codeforces.me/contest/1749] [Educational codeforces round :138] Problem A: cowardly rook

include<bits/stdc++.h>

using namespace std ; int main(){ int t; cin>>t; while(t--){ int n,m; cin>>n>>m; for(int i=0;i<m;i++){ int a,b; cin>>a>>b; } if(m<n){ cout<<"YES"<<endl; } else{ cout<<"NO"<<endl; } }

return 0;

}

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English dear_earth 2022-10-20 20:07:29 69
en1 English dear_earth 2022-10-20 20:02:27 423 Initial revision (published)