General
 
 
# 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
→ Source
n,m,s=map(int,input().split())
print((((n-1)%s+1)*((m-1)%s+1))*(((n-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