- 玉桂狗
34求助
- @ 2024-11-30 8:58:17
#include<bits/stdc++.h> using namespace std; int main(){ long long a,b,c,d,maxn=0; cin>>a>>b; for(long long i=1;i<=a;i++){ cin>>c>>d; if(d>=b){ maxn=max(maxn,c); } } cout<<maxn; return 0; }
0 comments
No comments so far...
Information
- ID
- 706
- Time
- 1000ms
- Memory
- 256MiB
- Difficulty
- 6
- Tags
- (None)
- # Submissions
- 126
- Accepted
- 36
- Uploaded By