100 atcoder#ABC176A. [ABC176A] Takoyaki
[ABC176A] Takoyaki
Score : points
Problem Statement
Takahashi loves takoyaki - a ball-shaped snack.
With a takoyaki machine, he can make at most pieces of takoyaki at a time, taking minutes regardless of the number of pieces to make.
How long does it take to make takoyaki?
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print an integer representing the minimum number of minutes needed to make pieces of takoyaki.
20 12 6
12
He can make pieces of takoyaki in the first minutes and more in the next minutes, so he can make in a total of minutes.
Note that being able to make in minutes does not mean he can make in minute.
1000 1 1000
1000000
It seems to take a long time to make this kind of takoyaki.