https://www.acmicpc.net/problem/11004


여기서 저는


입력 을 전부 받고나서


퀵소트로 정렬하고 K번째 인덱스 접근해서 찾았더니


시간 초과 뜨네요 ..


어떤 방법이 있을까요???