tbs0220.pp 281 B

123456789101112131415
  1. type
  2. a = array[1..100] of char;
  3. var
  4. a1 : a;
  5. s : string;
  6. begin
  7. a1[1]:='1';a1[2]:='2';a1[3]:='3';
  8. a1[4]:='4';a1[5]:='5';a1[6]:='6';
  9. a1[7]:='7';a1[8]:='8';a1[9]:='9';
  10. a1[10]:='0';a1[11]:='1';
  11. s:=Copy(a1,1,10);
  12. if s<>'1234567890' then halt(1);
  13. writeln('ok');
  14. end.