AtCoder Beginner Contest 125
翻译中…
Problem Statement
翻译中…
A biscuit making machine produces $B$ biscuits at the following moments: $A$ seconds, $2A$ seconds, $3A$ seconds and each subsequent multiple of $A$ seconds after activation.
翻译中…
Find the total number of biscuits produced within $T + 0.5$ seconds after activation.
翻译中…
Constraints
翻译中…
- All values in input are integers.
$1 \leq A, B, T \leq 20$
翻译中…
Input
翻译中…
Input is given from Standard Input in the following format:
翻译中…
A B T
翻译中…
Output
翻译中…
Print the total number of biscuits produced within $T + 0.5$ seconds after activation.
翻译中…
样例
Input #1
3 5 7
Output #1
10
- Five biscuits will be produced three seconds after activation.
- Another five biscuits will be produced six seconds after activation.
- Thus, a total of ten biscuits will be produced within $7.5$ seconds after activation.
Input #2
3 2 9
Output #2
6
Input #3
20 20 19
Output #3
0
题目信息
题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。