[프로그래머스] 모의고사
프로그래머스 1단계 모의고사 https://programmers.co.kr/learn/challenges 문제 설명 풀이 import java.util.*; import java.lang.*; class Solution { public int[] solution(int[] answers) { int student1[] = {1, 2, 3, 4, 5}; int student2[] = {2, 1, 2, 3, 2, 4, 2, 5}; int student3[] = {3, 3, 1, 1, 2, 2, 4, 4, 5, 5}; ArrayList topStudent = new ArrayList(); int score[] = new int[3]; for(int i=0; i
2022. 4. 24.