|
|
back to boardDo I Read Input Correctly or not? Please... Posted by Alexey 7 Jun 2006 16:49 My Program passes test, wich has about 300 pairs, but TLE#1. Check My Input, please. Procedure Input; Begin Readln(n); While not Eof do Begin inc(la); Readln(a[la].p1,a[la].p2); End; End; Thanks a lot. Your input is ok, but first test is not a sample (-) Re: Your input is ok, but first test is not a sample (-) Posted by Alexey 7 Jun 2006 19:15 So, what trick hides test#1? And why do I have WA#1 If I change Readln to Read? Read FAQ about input till eof (-) Re: Read FAQ about input till eof (-) Posted by Alexey 8 Jun 2006 13:28 I read it and did like that: Procedure InputDat; Begin Readln(n); While not SeekEof do Begin inc(la); Read(a[la].p1,a[la].p2); End; End; And again TLE#1 with 'Read' or 'Readln'... |
|
|