uses Crt; const imax=12; type pt=^klon; klon=record r: real; ptl, ptr: pt; end; var koren: pt; i: integer; procedure create(var ptt:pt); var ir: integer; begin new(ptt); i:=i+1; ptt^.r:=i; ptt^.ptl:=nil; ptt^.ptr:=nil; if i',rri:3:0); if ptt^.ptr<>nil then go(ptt^.ptr); if ptt^.ptl<>nil then go(ptt^.ptl); end; begin ClrScr; randomize; i:=0; create(koren); writeln; writeln; go(koren); end.