|
|
вернуться в форумHow to read input data in Pascal? My prog got TLE on test 8 I found that on test 8 about 0.2 sec my program spend on reading input data. Here the part of code ( this part takes about 0.2 sec on test 8 - I checked it many times) ... Readln(N); for i:=1 to N do begin A[i].p:=i; Read(C); A[i].V:=C; end; ... Could you please explain how it should be done? Edited by author 06.02.2013 14:09 Edited by author 07.02.2013 01:22 Edited by author 07.02.2013 01:22 |
|
|