|
|
вернуться в форумWhy memory limit on test 7? Here is my code: [code deleted] Edited by moderator 06.03.2006 18:43 Because your program uses more than 1000 Kb (+) array [1..250000] of longword -> 250000*4 = 1000000 bytes + some memory (about 150 Kb) for compiler purposes. Your approach to store all the input data is wrong. Re: Because your program uses more than 1000 Kb (+) Well., 10x for the fast reply but I can't think of anything better. I thought it's unavoidable using such a big array. Any Hints :) Edited by author 05.03.2006 16:20 |
|
|