- Victoria的舞会1
- 2009-06-09 20:47:03 @
我写的这么弱的程序都秒杀了:
program victoria;
var
i,j,k,n,m,max:longint;
begin
readln(n,k);
if k=1 then
writeln(n)
else begin
for i:=1 to n do begin
j:=1;
m:=0;
while j0 do begin
inc(m);
read(j);
end;
dec(m);
if m>=k then
inc(max);
end;
writeln(max);
end;
end.
1 条评论
-
宇智波鼬 LV 4 @ 2012-08-16 11:23:32
是
是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是呀!
- 1