Fiblter(int
ftinction I itcr(n intcger): integer: 'ar i. tinp. current. last integer: begin
if n 2 then F itcr:= n else
begin
current: I: last:= 0:
for i:= 2 to n do begin
tmp:= currcnt: current:= current last:= tmp: cml
F iter:= current:
end;
end
1 ;
long lastl=0, last2=0, for(int i=l; i<=n; i++)
last2 = lastl; lastl = rot;
last: rot = lastl + last2
return rot;
Wykład - Fi osa ajiiou ;unc I <>iii|mtci oh I r