programmers 42840

    [프로그래머스, 42840] 모의고사 (java)

    https://school.programmers.co.kr/learn/courses/30/lessons/42840 프로그래머스SW개발자를 위한 평가, 교육, 채용까지 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr메모리: 86.5 MB, 시간: 1.57 ms사용 알고리즘: 완전탐색import java.util.*;class Solution { public int[] solution(int[] answers) { // 1, 2, 3번 수포자가 찍는 방식을 담은 배열 int[][] pick = new int[][] { {1, 2, 3, 4, 5}, {2, 1, 2, 3, 2,..