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

34431번 - Work From Home 다국어

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

문제

Alice writes software for Hooli, a large tech company. Hooli has asked all of their employees to work from home for the time being to protect their health. For Alice, this means bringing her desktop computer home to work on, which consumes quite a lot of electricity. Fortunately, Hooli has offered to pay for any expenses she accumulates working from home, so she will be expensing her computer's electrical usage.

Help Alice write a program which computes how much money to expense to Hooli for her desktop computer's electrical usage.

입력

The first line of input is an integer $W$ (1ドル \le W \le 9,999円$), which indicates the amount of Watts Alice's desktop computer uses. The second line of input is an integer $m$ (0ドル \le m \le 44,640円$), which indicates the number of minutes Alice used her desktop computer for work in a month. The third and final line of input is an integer $C$ (0ドル \le C \le 100$), which indicates the cost of a single kilowatt-hour of electricity in Alice's town (as measured in cents).

출력

Output a single integer, $D,ドル that indicates the number of dollars Alice should expense Hooli for electricity. Since Hooli does not like dealing with pennies, round up to the nearest dollar if the calculation does not come out to a whole number of dollars.

제한

예제 입력 1

1000
9600
10

예제 출력 1

16

예제 입력 2

700
12000
17

예제 출력 2

24

노트

출처

School > CS@Mines > CS@Mines HSPC 2020 H번

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

출처

대학교 대회

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

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