이모티콘 할인행사
-
[프로그래머스] 이모티콘 할인행사코딩 테스트 2025. 3. 24. 21:49
https://school.programmers.co.kr/learn/courses/30/lessons/150368 쌩구현 문제였다. [풀이한 코드]import java.util.*;class Solution { static final Map percentMap = Map.of(10, 9, 20, 8, 30, 7, 40, 6); static final int[] pers = new int[]{10, 20, 30, 40}; static int[][] users; static int[] emoticons; static int maxPlusUser; static long maxSale; public int[] solution(int[][] users,..