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

5342번 - Billing 다국어

시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 128 MB77461356679.606%

문제

The accounting office is having troubling with billing each department for the supplies purchased last semester. Below is a chart of all the supplies and how much they cost. You must write a program that reads a list of the supplies and computes the total cost.

Item Cost
Paper 57.99
Printer 120.50
Planners 31.25
Binders 22.50
Calendar 10.95
Notebooks 11.20
Ink 66.95

입력

The input is a list of office supplies with one item per line. End-of- input is denoted by the string “EOI”.

출력

Print the total cost of all the items in the list. The output must start with a dollar sign, “$” and the total printed with exactly two decimal digits.

제한

예제 입력 1

Binders
Calendar
Ink
Notebooks
Binders
Ink
EOI

예제 출력 1

201ドル.05

힌트

출처

School > PLU High School Programming Contest > PLU 2013 > Novice 6번

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

출처

대학교 대회

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

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