#include<iostream> #include<cstdio> using namespace std; #define dbug(x) cout<<">"<<x<<endl; void Solve() { int n,N; N=2400; cin>>n; bool bb=false; for(int i=0; i<n; i++) { string s; int b,a; cin>>s>>b>>a; if(b>=N && a>b){ bb=true; } } if(bb) { cout<<"Yes"<<endl; } else { cout<<"No"<<endl; } }
Saturday, July 23, 2016
681A - A Good Contest
Labels:
Codeforces
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Thank you for commenting. Please wait for response :)