# 1097 import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int[][] arr = new int[19][19]; for (int i = 0; i < arr.length; i++) { for (int j = 0; j < arr.length; j++) { arr[i][j] = sc.nextInt(); } } int n = sc.nextInt(); int x, y; for (int i = 0; i < n; i++) { x = sc.nextInt(); for (int j = 0; j < arr.length; j++) { if (arr[x - 1][..
# 1093 import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] arr = new int[24]; for (int i = 0; i < n; i++) { int num = sc.nextInt(); arr[num - 1] += 1; } for (int i = 0; i < 23; i++) { System.out.print(arr[i] + " "); } } } # 1094 import java.util.*; public class Main { public static void main(String[] ar..
# 1088 import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); for (int i = 0; i
# 1083 import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); for (int i = 1; i = a) { System.out.println(sum); break; } } } } 코드업 기초 100제 문제집 / C언어 기초 100제 codeup.kr