시간 제한 메모리 제한 제출 정답 맞은 사람 정답 비율
1 초 256 MB 56 25 23 42.593%

문제

Golden Valley(골든 벨리)의류 창고는 곧 다가올 봄과 여름의 옷을 만들기 위한 공간을 만들기 위해 신속하게 많은 겨울 재고된 옷들을 판매하려 합니다. 관리자는 상당히 복잡한 세일 정책을 생각했고, 당신에게 그것을 시행하도록 맡겼습니다.

여기에 관리자가 정해놓은 규칙이 있습니다.

아이템에는 색깔과 원형 스티커가 있고, 그것들은 dots(점)이라 부릅니다. 따라서 각각의 빨간점, 노란점 등등은 여기에 나열된 특정 할인 비율을 나타냅니다.

점의 색깔 할인율%
빨강색 45
초록색 30
파란색 20
노란색 15
주황색 10
흰색 5

또한, 관리자는 할인 쿠폰을 부여하고 있습니다! 할인 쿠폰을 가진 고객은 점 계산이 끝난 후에 추가로 5%의 할인을 받습니다.

당신은 제시된 각 항목에 대한 할인된 가격을 해결해야합니다. 당신의 프로그램은 프로그램이 끝날때까지 되어야하며, 당신은 반드시 가장 오른쪽 소수점을 반올림 해야합니다.(0.5 이상일때 반올림)

만약 고객이 현금을 지불하면, 당신은 반드시 10센트가 될 때까지 올리거나 내리는 반올림을 해야합니다. 만약 가장 오른쪽 자리가 0~5이면 0으로 낮아지며, 아닐 경우는 10으로 올려야 합니다.

입력

첫 번째 줄의 입력은 양의 정수이며, N(0 < N <= 100)은 구매자 수를 의미하며 다음 라인은 각자의 구매를 나타냅니다.

각 행은 다음과 같은 형식이며, 항목은 공백으로 구분됩니다.

<원래 가격><dots(점)><쿠폰><결제>
  • <원래 가격>  모든 할인 전 품목의 가격, 소수점은 2번째 자리까지입니다.
  • <dots(점)>  점의 색깔이며, 색의 첫 글자인 대문자를 이용하여 색을 나타냅니다.
  • <쿠폰>  쿠폰이 있으면 C, 없으면 X를 의미합니다.
  • <결제>  현금을 제시할 경우 C, 그렇지 않은 경우는 P(플라스틱) 현금을 의미합니다.

출력

입력 받은 것의 할인된 가격을 한 줄에 출력해야 합니다. 그리고 이러한 형식입니다.

$d.cc

즉, 달러기호, 금액, 소수점 2자리까지이며, 소수점이 0인 경우, 0을 표시해야합니다.

예제 입력 1

4
29.99 R X P
119.95 W C P
68.50 B X P
69.90 Y C C

예제 출력 1

$16.49
$108.25
$54.80
$56.40
W3sicHJvYmxlbV9pZCI6IjExMjk2IiwicHJvYmxlbV9sYW5nIjoiMCIsInRpdGxlIjoiXHVhYzAwXHVhY2E5IiwiZGVzY3JpcHRpb24iOiI8cD5Hb2xkZW4gVmFsbGV5KFx1YWNlOFx1YjRlMCBcdWJjYThcdWI5YWMpXHVjNzU4XHViOTU4IFx1Y2MzZFx1YWNlMFx1YjI5NCBcdWFjZTcgXHViMmU0XHVhYzAwXHVjNjJjIFx1YmQwNFx1YWNmYyBcdWM1ZWNcdWI5ODRcdWM3NTggXHVjNjM3XHVjNzQ0IFx1YjljY1x1YjRlNFx1YWUzMCBcdWM3MDRcdWQ1NWMgXHVhY2Y1XHVhYzA0XHVjNzQ0IFx1YjljY1x1YjRlNFx1YWUzMCBcdWM3MDRcdWQ1NzQgXHVjMmUwXHVjMThkXHVkNTU4XHVhYzhjJm5ic3A7XHViOWNlXHVjNzQwIFx1YWNhOFx1YzZiOCBcdWM3YWNcdWFjZTBcdWI0MWMgXHVjNjM3XHViNGU0XHVjNzQ0IFx1ZDMxMFx1YjllNFx1ZDU1OFx1YjgyNCBcdWQ1NjlcdWIyYzhcdWIyZTQuIFx1YWQwMFx1YjlhY1x1Yzc5MFx1YjI5NCBcdWMwYzFcdWIyZjlcdWQ3ODggXHViY2Y1XHVjN2ExXHVkNTVjIFx1YzEzOFx1Yzc3YyBcdWM4MTVcdWNjNDVcdWM3NDQgXHVjMGRkXHVhYzAxXHVkNTg4XHVhY2UwLCBcdWIyZjlcdWMyZTBcdWM1ZDBcdWFjOGMmbmJzcDtcdWFkZjhcdWFjODNcdWM3NDQgXHVjMmRjXHVkNTg5XHVkNTU4XHViM2M0XHViODVkJm5ic3A7XHViOWUxXHVhY2JjXHVjMmI1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ACM-ICPC > Regionals > South Pacific > South Pacific Region > New Zealand Programming Contest > NZPC 2015 E번

  • 문제의 오타를 찾은 사람: corea jh05013
  • 어색한 표현을 찾은 사람: jaehoo1
  • 잘못된 번역을 찾은 사람: john6014
  • 문제를 번역한 사람: nsy0042