[프로그래머스] 실패율 - JAVA
·
알고리즘
풀이import java.util.*;class Solution { public int[] solution(int N, int[] stages) { int[] answer = new int[N]; double[] noClearUser = new double[N]; double[] reachUser = new double[N]; HashMap map = new HashMap(); for (int i = 0; i = i+1) { reachUser[i]++; } } if (noClearUser[i] == 0.0 || reachUser[i] ==..