
[PCCE 기출문제] 창고정리
·
코딩테스트/프로그래머스 Lv0
틀린 코드를 찾아내 1줄만 수정하여 정상 작동하도록 하는 문제 class Solution { public String solution(String[] storage, int[] num) { int num_item = 0; String[] clean_storage = new String[storage.length]; int[] clean_num = new int[num.length]; for(int i=0; i