题解 | #牛牛的短信#

牛牛的短信

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)

全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

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