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

21633번 - Bank Transfer 스페셜 저지다국어

시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 512 MB22691583148269.741%

문제

Tanya has an account in "Redgotts" bank. The bank has the commission to transfer money to "Bluegotts" bank that her friend Vanya has the account in.

Tanya has read her bank rules and learned the following:

The commission for the bank transfer is 25ドル$ tugriks plus 1ドル\%$ of the sum transferred. However, the commission is never smaller than 100ドル$ tugriks, and cannot exceed 2000ドル$ tugriks.

Tanya is planning to transfer $k$ tugriks to Vanya. Help her find out what the commission would be.

입력

Input is a single integer $k$ (200ドル \le k \le 10^9$).

출력

Output one floating point value: the commission for the transfer. The value must be printed with at least two exact digits after the decimal point.

제한

예제 입력 1

20210

예제 출력 1

227.10

예제 입력 2

9000

예제 출력 2

115.00

예제 입력 3

300000

예제 출력 3

2000.00

힌트

출처

Olympiad > Russian Olympiad in Informatics > Russia Team High School Programming Contest > Russia Team High School Programming Contest 2020 A번

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

출처

대학교 대회

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

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