Skip to content

Commit

Permalink
주사위의 개수
Browse files Browse the repository at this point in the history
  • Loading branch information
dudwns committed Mar 27, 2023
1 parent 1207643 commit 5a92377
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Programmers/exam47.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
function solution(box, n) {
return box.reduce((a, b) => a * ~~(b / n), 1);
}

0 comments on commit 5a92377

Please sign in to comment.