| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 82577 | sh25_wanghy | 求第k大数 | C++ | Accepted | 0 MS | 248 KB | 262 | 2026-01-15 19:27:48 |
#include<bits/stdc++.h> #include<algorithm> #include<functional> using namespace std; int main(){ int m,n; cin>>m>>n; int s[m]; for(int i=0;i<m;++i) cin>>s[i]; sort(s,s+m,greater<int>()); cout<<s[n-1]; return 0; }