Сдать должен работу 17-го января.
Вот то, что есть на сегодняшний день:
program laba;
uses crt;
var
ftxt:text;
i,j,cod:integer;
st:string;
st1,st2,st3,st4,st5,st6:string;
n:integer;
found:boolean;
begin
clrscr;
assign(ftxt,'Sports.txt');
{SI-} reset(ftxt); {SI+}
if IOResult<>0 then
begin
writeln('Ґв д (c)« ');
halt
end;
close(ftxt);
reset(ftxt);
while not eof(ftxt) do
begin
readln(ftxt,st);
st1:=copy(st,1,2); {номер жюри}
st2:=copy(st,4,8);
st3:=copy(st,13,8);
st4:=copy(st,22,8);
st5:=copy(st,31,8);
st6:=copy(st,40,8);
writeln(st1,' ',st2,' ',st3,' ',st4,' ',st5,' ',st6);
end;
close(ftxt);
end.
И сам текстовый файл...