개미 군단

김세호·2022년 12월 6일
0

내 풀이

class Solution {
    public int solution(int hp) {
        int answer = 0;
        answer += hp/5 +(hp%5)/3 + (hp%5)%3/1;
        return answer;
    }
}

0개의 댓글