import java.util.Scanner;
public class demo_2026 {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int people = input.nextInt();
int test = input.nextInt();
int estimate = input.nextInt();
int[][] arr = new int[people][test];
int[] newArr = new int[people];
int count = 0;
for (int i = 0; i < people; i++) {
for (int j = 0; j < test; j++) {
arr[i][j] = input.nextInt();
}
}
for (int i = 0; i < people; i++) {
for (int j = 0; j < test; j++) {
newArr[i] += arr[i][j];
}
}
for (int i = 0; i < people; i++) {
if (newArr[i] >= estimate) {
count++;
}
}
System.out.print(count);
}
}
东方博弈 2026--上线人数
最新推荐文章于 2024-07-29 18:00:00 发布