Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from math import ceil
- n, m, a = map(int, input().split())
- print(ceil(n / a) * ceil(m / a))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement