ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1001. Reverse Root

1001
Posted by raychung 18 Mar 2007 13:10
what's wrong???
I get the 'Crash (stack overflow)';
Help!!

[code deleted]

Edited by moderator 27.03.2007 09:45
Re: 1001(+)
Posted by Orlangur [KievNU] 26 Mar 2007 16:59
If you'll use {$M 16777216} it will get MLE#10.

Even if you'll use less local variables it will get TLE#10.

Try to avoid recursion and to read numbers in normal way :-D