| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 3325 | OscarWLY | 求第k大数 | C++ | Wrong Answer | 0 MS | 248 KB | 217 | 2023-01-01 15:09:24 |
#include<iostream> #include<algorithm> using namespace std; int main() { int n,m; cin>>n>>m; int arr[n+5]={}; for(int i=0;i<n;i++) { cin>>arr[i]; } sort(arr,arr+n); cout<<arr[m]; return 0; }