Logo
(追記) (追記ここまで)

34411번 - M-Climb 다국어

시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 2048 MB71867463894.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.

제한

예제 입력 1

50
10
2021

예제 출력 1

500

예제 입력 2

26
7
2022

예제 출력 2

182

노트

출처

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

  • 문제를 만든 사람: Jack Garner
(追記) (追記ここまで)

출처

대학교 대회

  • 사업자 등록 번호: 541-88-00682
  • 대표자명: 최백준
  • 주소: 서울시 서초구 서초대로74길 29 서초파라곤 412호
  • 전화번호: 02-521-0487 (이메일로 연락 주세요)
  • 이메일: contacts@startlink.io
  • 통신판매신고번호: 제 2017-서울서초-2193 호

AltStyle によって変換されたページ (->オリジナル) /