I've finally spotted the bug. It was the 'else if' part in my recursive function...mamun wrote:Here are some I/O for you
![:oops:](./images/smilies/icon_redface.gif)
Thank you very much.
Take a look at http://theory.snu.ac.kr/ioi/.neno_uci wrote:Yes, we have all that is needed for the judge..., computers..., servers, but only the Judge Software is missing..., thanx again,
Is there anything that covers more advanced DP problems?yaro wrote:http://www.topcoder.com/tc?module=Stati ... d2=dynProg
I think this may be interesting for you.
You could read /proc/<pid>/status just before your program terminates (using atexit for example). If anyone knows a better way (the one that judge uses), I would also like to know.shamim wrote:How to find out how much memory a program has used, in linux.