Skip to content

Commit

Permalink
solve: 23971
Browse files Browse the repository at this point in the history
  • Loading branch information
wjdtjdgns committed Jun 29, 2023
1 parent 678e518 commit 8984449
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Baekjoon/23971.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const [H, W, N, M] = require('fs').readFileSync('/dev/stdin').toString().trim().split(" ").map(v => parseInt(v));

console.log(Math.ceil(H / (N + 1)) * Math.ceil(W / (M + 1)));

// 출처 : Baekjoon online judge, https://www.acmicpc.net/problem/23971

0 comments on commit 8984449

Please sign in to comment.