반응형 swexpert12041 [SW Expert Academy] Intermediate / Array1 / 1204. [S/W 문제해결 기본] 최빈수 구하기 Array1) 1204. 최빈수구하기_ package array1; import java.util.Scanner; import java.io.FileInputStream; class Solution { public static void main(String args[]) throws Exception { // txt 파일 읽어오는 소스코드 // System.setIn(new FileInputStream("res/input.txt")); Scanner sc = new Scanner(System.in); int T; T = sc.nextInt(); /* * 여러 개의 테스트 케이스가 주어지므로, 각각을 처리합니다. */ int N; int[] stud = new int[1000]; // 학생 수 1000명 .. 2021. 8. 12. 이전 1 다음