题解 | #小乐乐算多少人被请家长#

小乐乐算多少人被请家长

http://www.nowcoder.com/practice/1654083e09d2432aa24b151d36309155

班级人数好像没啥用,直接算不合格的人就得了

n=int(input())
x=0
while True:
    try:
        a,b,c=[int(x) for x in input().split()]
        if sum([a,b,c])/3 < 60:
            x+=1
    except:
        break
print(x)
全部评论

相关推荐

点赞 评论 收藏
分享
写的代码全是bug:这都0那我不跳了
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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