ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1033. Labyrinth

Strange|wrong tests
Posted by Psyche 9 Feb 2003 11:45
Seem's like there are not just '.' and '#' in the input matrix. I've
got TL on the folowing code:

  read(n);
  for i:=1 to n do
    for j:=1 to n do begin
      if seekeof then;
      read(m[i, j]);
      if (m[i, j] <> '.') and (m[i, j] <> '#') then
        while true do;
    end;

Then I've changed it on the folowing:

  read(n);
  for i:=1 to n do
    for j:=1 to n do begin
      if seekeof then;
      read(m[i, j]);
      while (m[i, j] <> '.') and (m[i, j] <> '#') do
        read(m[i, j]);
    end;

... and got AC.

Jury, clean your tests plz - time and attempts are wasted...