solution

Revision en1, by dear_earth, 2022-10-20 20:02:27

Codeforces Beta Round 99 (Div. 1) 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)