Hide
Problem C
Kornsilo
By Scott Davis — Own work, CC BY-SA 3.0,
https://commons.wikimedia.org/w/index.php?curid=293356
Indlæsning
En linje med de tre heltal $N$, $K$, og $H$ med $0\leq N,K < 100\, 000$ og $1\leq H < 100\, 000$.
Udskrift
Et heltal; hvor mange yderligere siloer, der skal opføres.
1 Testgrupper
Der er to testgrupper. I testgruppe $1$ er $H=1$.
Sample Input 1 | Sample Output 1 |
---|---|
10 3 1 |
7 |
Sample Input 2 | Sample Output 2 |
---|---|
11 2 5 |
1 |
Sample Input 3 | Sample Output 3 |
---|---|
42 7 7 |
0 |