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

小乐乐算多少人被请家长

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)
全部评论

相关推荐

点赞 收藏 评论
分享
牛客网
牛客企业服务