shunxinruyi @ 2024-10-11 19:28:25
#include<iostream>
#include<cstdio>
#include<string>
#include<cstring>
#include<algorithm>
#include<queue>
#include<map>
#include<vector>
#include<set>
#include<cmath>
using namespace std;
int a[5000001];
int main()
{
int n,k;
cin>>n>>k;
for(int i=0;i<n;i++)
{
scanf("%d",&a[i]);
}
sort(a,a+n);
cout<<a[k];
}
by CheeseFunction @ 2024-10-11 19:40:41
我这评测记录是好的呀,应该是你提交的时候评测姬炸了。
by CheeseFunction @ 2024-10-11 19:41:52
@shunxinruyi 还有你用这么多头文件有些一点用都没有呀,倒不如开一个bits/stdc++.h
实在