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+ # [ D1] 최대수 구하기 - 2068
2+
3+ [ 문제 링크] ( https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AV5QQhbqA4QDFAUq )
4+
5+ ### 성능 요약
6+
7+ 메모리: 25,088 KB, 시간: 76 ms, 코드길이: 700 Bytes
8+
9+ ### 제출 일자
10+
11+ 2025-09-24 18:08
12+
13+
14+
15+ > 출처: SW Expert Academy, https://swexpertacademy.com/main/code/problem/problemList.do
Original file line number Diff line number Diff line change 1+ import java .io .*;
2+ import java .util .*;
3+
4+ class Solution
5+ {
6+ public static void main (String args []) throws Exception
7+ {
8+ BufferedReader br = new BufferedReader (new InputStreamReader (System .in ));
9+ int T = Integer .parseInt (br .readLine ());
10+ StringBuilder sb = new StringBuilder ();
11+
12+ for (int i =1 ; i <=T ; i ++){
13+ StringTokenizer st = new StringTokenizer (br .readLine ());
14+ int max = Integer .MIN_VALUE ;
15+ for (int j =0 ; j <10 ; j ++){
16+ int num = Integer .parseInt (st .nextToken ());
17+ if (max <num ) max = num ;
18+ }
19+ sb .append ("#" + i + " " + max ).append ("\n " );
20+ }
21+
22+ System .out .println (sb );
23+ }
24+ }
You can’t perform that action at this time.
0 commit comments