Get Mystery Box with random crypto!

#include'stdio.h' int main() { int n,k,j,temp; scanf('%d %d',& | CODING SOLUTION - Placement Jobs & Materials

#include"stdio.h"
int main()
{
int n,k,j,temp;
scanf("%d %d",&n,&k);
int a[n],i;
for(i=0;iscanf("%d",&a[i]);
for(i=0;i{
for(j=i+1;j{
if(a[i]>a[j])
{
temp=a[i];
a[i]=a[j];
a[j]=temp;
}
}
}
printf("%d",a[k-1]);
return 0;
}

C language
K-th shortest execution time
Wipro
Telegram - t.me/codingsolution_IT