General
 
 
# Author Problem Lang Verdict Time Memory Sent Judged  
152502413 Practice:
Chaitu_03
32C - 12 Python 3 Accepted 92 ms 0 KB 2022-04-02 17:55:37 2022-04-02 17:55:37
→ Source
n,m,s=map(int,input().split())
print(((n-1)//s+1)*((n-1)%s+1)*((m-1)//s+1)*((m-1)%s+1))
?
Time: ? ms, memory: ? KB
Verdict: ?
Input
?
Participant's output
?
Jury's answer
?
Checker comment
?
Diagnostics
?
Click to see test details