[프로그래머스] 주사위의 개수 - Java

Yunki Kim·2022년 12월 27일
0

프로그래머스

목록 보기
43/101
post-thumbnail

문제


링크


코드

class Solution {
    public int solution(int[] box, int n) {
        return  (box[0] / n) * (box[1] / n) * (box[2] / n); 
    }
}

리뷰

0개의 댓글