Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
61155 | laichihao | 求第k大数 | C++ | Wrong Answer | 0 MS | 244 KB | 188 | 2025-02-22 15:35:00 |
#include<iostream> using namespace std; int main(){ int m,n; cin>>m>>n; int a[m]; for(int i=0;i<=m;i++){ cin>>a[i]; } cout<<a[n-1]; return 0; }