#PCBSAU0000047. Báo cáo kết quả học tập (Learning Results Report)
Báo cáo kết quả học tập (Learning Results Report)
Learning Results Report
Source: Phước Hưng OJ
Version: Phuoc Hung OJ Extended
Problem Statement
Given full name and scores weighted 20%, 30%, 50%, compute and percentage . Do not round prematurely.
Input
Line 1 contains the full name; line 2 contains three whitespace-separated real scores .
Output
One line name | m | p%, with two decimal digits for both and the percentage.
Subtask
- Subtask 1 — 100 points: ; each score is in {0,0.5,1,...,10}.
Example
Input
Nguyen Van An
8 9 10
Output
Nguyen Van An | 9.30 | 93.00%
Explanation
Weighted score (16+27+50)/10 is 9.3; dividing by 10 gives 93.00%.