?
# | Author | Problem | Lang | Verdict | Time | Memory | Sent | Judged | |
---|---|---|---|---|---|---|---|---|---|
169761564 |
Practice: Feet_McYeet |
32C - 12 | PyPy 3 | Accepted | 186 ms | 12 KB | 2022-08-27 08:52:12 | 2022-08-27 08:52:12 |
n,m,s=map(int,input().split()) print((((n-1)%s+1)*((m-1)%s+1))*(((n-1)//s+1)*((m-1)//s+1)))
?
?
?
?