General
 
 
# Author Problem Lang Verdict Time Memory Sent Judged  
250977621 Practice:
Aravind96
32C - 12 Python 3 Accepted 92 ms 0 KB 2024-03-12 19:51:09 2024-03-12 19:51:09
→ 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