- Victoria的舞会1
- 2014-04-06 17:12:19 @
program abc;
var n,k,i,j,ans:integer;
f:array[1..200] of integer;
begin
readln(n,k);
for i:=1 to n do
begin
repeat
read(j);
if j<>0 then inc(f[i]);
until j=0;
if f[i]>=k then inc(ans);
end;
write(ans);
readln;
end.
1 条评论
-
hjysimo LV 6 @ 2014-04-07 21:01:15
。。。。。
- 1