|
|
back to boardIMPORTANT: how to get AC and MEMORY at the same time :(( Posted by foxX 10 Sep 2003 01:53 greetings solvers. this is the second buggiest problem i've ever ACed here. EXACTLY the same source got me MEMORY LIMIT like 30 minutes before getting AC. the C program used 1100 kbs - MEMORY same program but "pascalized" used 770 kbs - AC <a href=" http://acm.timus.ru/problem.asp?id=1056">1056</a> wasn the only problem to do me this, also <a href=" http://acm.timus.ru/problem.asp?id=1036">1036</a>. I guess that Borland Delphi(or whichever Pascal compiler used here) uses dynamic allocation better than Microsoft C... cheerz, foxx@email.ro To avoid TLE on C/C++ don't use dinamic data structures like queue. (-) |
|
|