| 시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
|---|---|---|---|---|---|
| 1 초 | 2048 MB | 718 | 674 | 638 | 94.239% |
At the start of every semester, Colorado School of Mines has a tradition of climbing to the top of lookout mountain so that freshmen can place a rock from their hometown onto the structure. Once the rocks are placed at the M, students cover them (and themselves) in white paint.
Mines' President Johnson is trying to plan the budget and wants an estimate for how much paint they need to buy. For the purposes of estimating, each rock requires exactly 1 liter of paint. Given the cost of a liter of paint and some number of rocks, how much money should be allocated in the budget?
The input consists of three lines. The first line contains a single integer, $m$ (0ドル \le m \le 1,000円$), representing the number of rocks brought to the M. The next line contains a single integer, $n$ (0ドル \le n \le 1,000円$), representing the cost of a liter of paint in US dollars. The final line contains an integer, $y$ (1873ドル \le y \le 3000$), representing the year the budget is for.
A single integer with the cost of buying all of the paint.
50 10 2021
500
26 7 2022
182
School > CS@Mines > CS@Mines HSPC 2021 A번