练习专区

今天的一小步就是明天的一大步
Problem 1123 判断优等生
Accepted: 7   Total Submit: 29
Time Limit: 1000ms   Memory Limit: 30720KB
Description
总共有五科成绩,如果一个学生有四科成绩超过(包括=90)90且不挂科,则是优等生。
Input
n(n小于20)表示学生的数目,接下来n行表示学生信息
Output
打出优等生的信息
Sample Input
3
wangwu 83 90 90 90 95
lisi 63 83 90 100 95
liming 90 95 97 98 50
Sample Output
wangwu 83 90 90 90 95
Hint
提交     返回