题解 | #牛牛的短信#

牛牛的短信

https://www.nowcoder.com/practice/435c9e2bf4f84bee99b82ce84e95b0b7

n=int(input())
m=list(map(int,input().split()))
money=0
for j in range(n):
    if m[j]<=60:
        money+=0.1
    else:
        money+=0.2
print(money)

全部评论

相关推荐

10-31 22:23
门头沟学院 Java
天然不是卷王:太好了 佬的金九银十结束,等offer吐出来,我的金11银12就要开始了
点赞 评论 收藏
分享
12-03 21:22
武汉大学 Java
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务