Toggle navigation
万里ACM
F.A.Qs
Web Board
ProblemSet
Source/Category
Status
Ranklist
Contest
[
ProblemSet
Status
Ranklist
OI Ranklist
Statistics
]
Login
Problem X: 成绩的等级
Problem X: 成绩的等级
Time Limit:
1 Sec
Memory Limit:
128 MB
Submit:
831
Solved:
532
[
Submit
] [
Status
] [
Web Board
] [Creator:
]
Description
将百分制成绩转换为等级分制成绩时,转换规则如下表所示:
Input
输入一个百分制的成绩S,S为自然数并且0≤S≤100
Output
输出对应的等级(A、B、C、D、E)
Sample Input
Copy
80
Sample Output
Copy
B