nbzh4036 @ 2017-03-05 18:01:20
var
a:array[1..1000] of longint;
i,n,x:longint;
begin
n:=0;
for i:=1 to 10 do
read(a[i]);
read(x);
x:=x+30;
if x>=a[i] then
n:=n+1;
write(n);
end.
by AFOier @ 2017-03-05 19:26:07
@nbzh4036 判断能否摘到苹果时也要循环
by nbzh4036 @ 2017-03-05 19:58:01
哦,谢谢