728x90
문제
https://www.acmicpc.net/problem/11004
풀이
배열 A를 정렬 후 K번째 수를 출력하면 되는 단순한 문제다.
// Solve
Arrays.sort(A);
// Output
System.out.println(A[K - 1]);
}
}
소스코드
https://github.com/rogi-rogi/problem-solving/blob/main/baekjoon-online-judge/easy/11004.java
728x90
'PS > Baekjoon Online Judge' 카테고리의 다른 글
[백준 02178] 미로 탐색 [Python] (0) | 2025.02.26 |
---|---|
[백준 01697] 숨박꼭질 [Python] (0) | 2025.02.26 |
[백준 17554] City of Lights [Java] (1) | 2025.02.23 |
[백준 10693] Abdelrahman [Java] (0) | 2025.02.23 |
[백준 10657] Cow Jog [Java] (0) | 2025.02.21 |