목록알고리즘 (52)
hara
https://www.acmicpc.net/problem/10942 import java.util.Scanner; public class a10942 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int num = sc.nextInt(); int[] arr = new int[num+1]; for(int i=1; i
https://www.acmicpc.net/problem/1890 import java.util.Scanner; public class a1890 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int[][] arr = new int[a+1][a+1]; for(int i=1; i
https://www.acmicpc.net/problem/11048 import java.util.Scanner; public class a11048 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int[][] arr = new int[a+1][b+1]; for(int i=1; i
https://www.acmicpc.net/problem/1699 import java.util.Scanner; public class a1699 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int num = sc.nextInt(); int[] d = new int[num+1]; for(int i=1; i
https://www.acmicpc.net/problem/2579 import java.util.Scanner; public class a2579 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int num = sc.nextInt(); int[] arr = new int[num+1]; for(int i=1; i