프로그래머스 모의고사 Java
import java.util.*; class Score { int name; int score; Score(int name, int score) { this.name = name; this.score = score; } } class Solution { public int[] solution(int[] answers) { int[] answer = {}; int[] one = {1, 2, 3, 4, 5, 1, 2, 3, 4, 5}; int[] two = {2, 1, 2, 3, 2, 4, 2, 5, 2, 1, 2, 3, 2, 4, 2, 5}; int[] three = {3, 3, 1, 1, 2, 2, 4, 4, 5, 5, 3, 3, 1, 1, 2, 2, 4, 4, 5, 5}; List answerList..
2021. 3. 24.