시리얼 번호
-
[백준] 1431 시리얼번호 #JAVAAlgorithm Solving/BAEKJOON 2021. 2. 22. 23:24
[백준] 1431 시리얼번호 #JAVA 코드 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Comparator; public class Main { public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n= Integer.parseInt(br.readLine()); ArrayList list = new ArrayList..