File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import java .io .BufferedReader ;
2+ import java .io .IOException ;
3+ import java .io .InputStreamReader ;
4+ import java .util .*;
5+
6+ public class Main {
7+
8+ public static void main (String [] args ) throws IOException {
9+ BufferedReader br = new BufferedReader (new InputStreamReader (System .in ));
10+ int n = Integer .parseInt (br .readLine ());
11+ int [] arr = new int [10 ];
12+
13+ for (int i = 0 ; i < n ; i ++) {
14+ StringTokenizer st = new StringTokenizer (br .readLine ());
15+ for (int j = 0 ; j < 10 ; j ++) {
16+ arr [j ] = Integer .parseInt (st .nextToken ());
17+ }
18+
19+ int max = 0 ;
20+ int cnt = 0 ;
21+ Arrays .sort (arr );
22+ System .out .println (arr [7 ]);
23+ }
24+ }
25+ }
Original file line number Diff line number Diff line change 44
55### 성능 요약
66
7- 메모리: 33432 KB, 시간: 60 ms
7+ 메모리: 16264 KB, 시간: 176 ms
88
99### 분류
1010
1111정렬
1212
1313### 제출 일자
1414
15- 2025년 4월 10일 09:46:29
15+ 2025년 10월 23일 16:40:47
1616
1717### 문제 설명
1818
You can’t perform that action at this time.
0 commit comments