Submission #16130657


Source Code Expand

Copy
import sys

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

N, X, T = map(int, read().split())

N = (N + X - 1) // X
print(N * T)

Submission Info

Submission Time
Task A - Takoyaki
User maspy
Language Python (3.8.2)
Score 100
Code Size 196 Byte
Status
Exec Time 30 ms
Memory 9000 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
× 2
× 11
Set Name Test Cases
Sample sample_01.txt, sample_02.txt
All hand_01.txt, random_01.txt, random_02.txt, random_03.txt, random_11.txt, random_12.txt, random_13.txt, random_21.txt, random_22.txt, sample_01.txt, sample_02.txt
Case Name Status Exec Time Memory
hand_01.txt 21 ms 8808 KB
random_01.txt 28 ms 8796 KB
random_02.txt 25 ms 8800 KB
random_03.txt 30 ms 8804 KB
random_11.txt 24 ms 8804 KB
random_12.txt 23 ms 8792 KB
random_13.txt 26 ms 8796 KB
random_21.txt 20 ms 8988 KB
random_22.txt 22 ms 9000 KB
sample_01.txt 29 ms 8920 KB
sample_02.txt 29 ms 8904 KB