[프로그래머스] 모의고사
import java.util.*; class Solution { public int[] solution(int[] answers) { int[] answer = {}; List answerList = new ArrayList(); int[] person1 = {1,2,3,4,5}; int[] person2 = {2,1,2,3,2,4,2,5}; int[] person3 = {3,3,1,1,2,2,4,4,5,5}; int[] rank = new int[4]; int bestCorrect =0; for(int i=0; i
2020.06.17