Search posts...
/* n = 정육면체 주사위의 모서리 길이 [10,8,6] / n == 3 / result = 12 3 * 2 * 2 */ class Solution { public int solution(int[] box, int n) { int answer = (box[0] / n)*(box[1] /n)*(box[2] / n); return answer; } }