Work From Home

시간 제한1초메모리 제한2048 MB

요약
컴퓨터의 와트, 사용한 분, 킬로와트시당 센트 단가를 받아 전기 요금을 계산하고 달러 단위로 올림한다.
난이도

쉬움10점 중 1점

유형
수학, 구현
정답자
아직 제출이 없습니다

문제

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 WW (1≤W≤9,9991 \le W \le 9\\,999), which indicates the amount of Watts Alice's desktop computer uses. The second line of input is an integer mm (0≤m≤44,6400 \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 CC (0≤C≤1000 \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, DD, 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.

예제2

  1. 예제 1

    입력
    1000
    9600
    10
    
    예상 출력
    16
    
  2. 예제 2

    입력
    700
    12000
    17
    
    예상 출력
    24