题解 | #小乐乐算多少人被请家长#
小乐乐算多少人被请家长
http://www.nowcoder.com/practice/1654083e09d2432aa24b151d36309155
n = int(input())
cnt = 0
for i in range(n):
a,b,c = map(int, input().split())
if (a+b+c)/3 < 60:
cnt += 1
print(cnt)
小乐乐算多少人被请家长
http://www.nowcoder.com/practice/1654083e09d2432aa24b151d36309155
n = int(input())
cnt = 0
for i in range(n):
a,b,c = map(int, input().split())
if (a+b+c)/3 < 60:
cnt += 1
print(cnt)
相关推荐