sort 3

백준[JAVA] 10814.나이순 정렬- 자바

📖 문제 📃 코드 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; import java.util.Comparator; import java.util.StringTokenizer; public class Main { static String[][] arr; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int N = Integer.parseInt(br.re..

백준[JAVA] 1181.단어 정렬 - 자바

📖 문제 📃 코드 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; import java.util.Comparator; public class Main { public static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); public static String word[]; public static void main(String[] args) throws IOException { StringBuilder sb = new StringBuilder(); int ..

백준[JAVA] 2750.수 정렬하기 - 자바

📖 문제 📃 코드 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int array[]; int size = Integer.parseInt(br.readLine()); array = new int[size]; for(int i=0; i< size; i++){ array[i]..