코딩테스트/[C#] 프로그래머스
[프로그래머스 | C# | Lv.0] 주사위의 개수
냠냠쿠
2023. 9. 17. 21:43
728x90
https://school.programmers.co.kr/learn/courses/30/lessons/120845
📝 나의 풀이
using System;
public class Solution {
public int solution(int[] box, int n) {
int answer = (box[0]/n) * (box[1]/n) * (box[2]/n);
return answer;
}
}
728x90