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

34297번 - Parking Pandemonium 다국어

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

문제

As part of Colorado School of Mines' 150th anniversary this year, the university is engaged in many infrastructure projects including constructing new buildings and renovating existing ones. These projects include a new innovation center with makerspaces focused on cross-discipline collaboration, increased classroom capacity, additional student housing to allow Mines to accommodate all freshmen and sophomore students, and parking garages to accommodate the rising number of students and faculty.

Unfortunately, the construction of these new buildings has temporarily reduced the amount of available parking in some areas of campus. However, a bright Mines student named Hannah realized that she can find a parking spot if she circles around the parking lot long enough waiting for another student to finish classes and head home. Hannah has determined that it takes exactly $M$ minutes to circle the parking lot once.

Given that Hannah circles the parking lot exactly $C$ times before finally finding a parking spot, how long will it take for her to find a parking spot?

입력

The first line of input contains a single integer 1ドル \leq M \leq 10^4,ドル the time (in minutes) it takes for Hannah to circle the parking lot once.

The second line of input contains a single integer 250ドル \leq K \leq 320,ドル the temperature (in Kelvin) of the parking lot.

The third line of input contains a single integer 1ドル \leq C \leq 10^4,ドル the number of times Hannah has to circle the parking lot before finding a parking spot.

출력

The first and only line of output should contain a single integer, the total amount of time (in minutes) it takes for Hannah to find a parking spot.

제한

예제 입력 1

10
294
3

예제 출력 1

30

예제 입력 2

2
274
21

예제 출력 2

42

힌트

출처

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

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

출처

대학교 대회

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

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