Toggle navigation
万里ACM
F.A.Qs
Web Board
ProblemSet
Source/Category
Status
Ranklist
Contest
[
ProblemSet
Status
Ranklist
OI Ranklist
Statistics
]
Login
Problem S: 等级考试的成绩
Problem S: 等级考试的成绩
Time Limit:
1 Sec
Memory Limit:
128 MB
Submit:
1051
Solved:
665
[
Submit
] [
Status
] [
Web Board
] [Creator:
]
Description
计算机等级考试的成绩(0~100)可以分三个等级:优秀(≥85)、及格(≥60 且<85)、不及格(<60)
编写程序,输入考试成绩S,判断成绩是优秀、及格还是不及格?
Input
考试成绩的分数N,N为浮点数(0 <= N <=100)
Output
如果成绩不及格,输出fail,如果成绩及格,输出pass,如果成绩优秀,输出good
Sample Input
Copy
100
Sample Output
Copy
good