로딩
요청 처리 중입니다...

프로그래머스 주차 요금 계산 - java

 프로그래머스 주차 요금 계산 - java

구현 문제이다. import java.util.*; import java.math.*; class Solution { public int[] solution(int[] fees, String[] records) { int[] answer = {}; int limitMinute = fees[0]; int defaultFeeBeforeLimit = fees[1]; int timeUnit = fees[2]; int feeUnit = fees[3]; // HashMap으로 차량 출입 기록 HashMap recordMap = new HashMap(); // HashSet으로 차량 번호 기록 HashSet carNumberSet = new HashSet(); for (String record : records) { String[] recordSplit = record.split(" "); String time = record...