题解 | #小乐乐算多少人被请家长#
小乐乐算多少人被请家长
https://www.nowcoder.com/practice/1654083e09d2432aa24b151d36309155
#include <stdio.h>
int main() {
int n = 0;
scanf("%d", &n);
int a, b, c;
int count = 0;
while (n--) {
scanf("%d %d %d\n", &a, &b, &c);
if ((a + b + c) / 3 < 60) {
count++;
}
}
printf("%d", count);
return 0;
}