#171. 作业2:happyORsad
作业2:happyORsad
题目描述
给n个英语分数,请把其中的最高分用"happy!"代替,最低分用"sad!"代替。输入格式
第一行一个整数n[1,500].
第二行n个整数,数据范图在[1, 100].
输出格式
1行n个信息,是对应的分数或"happy!"或"sad!".5
95 60 95 50 80happy! 60 happy! sad! 80
第一行一个整数n[1,500].
第二行n个整数,数据范图在[1, 100].
5
95 60 95 50 80happy! 60 happy! sad! 80
By signing up a 大飞信奥 universal account, you can submit code and join discussions in all online judging services provided by us.