시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 2048 MB1092100595592.539%

문제

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.

예제 입력 1

50
10
2021

예제 출력 1

500

예제 입력 2

26
7
2022

예제 출력 2

182

출처

School > CS@Mines > CS@Mines HSPC 2021 A번

  • 문제를 만든 사람: Jack Garner