Advertisement
nq1s788

1g

Feb 28th, 2024
730
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.09 KB | None | 0 0
  1. from math import ceil
  2. n, m, a = map(int, input().split())
  3. print(ceil(n / a) * ceil(m / a))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement