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 1553. Caves and Tunnels

Stack Overflow
Posted by Night 2 Nov 2011 04:25
Please I got Crash(Stack Overflow), I implemented my first heavy-light descomposition and tried this problem, but I got this.

I got AC, I had to  convert the DFS to BFS, to evade the StackOverflow.

Edited by author 02.11.2011 04:45

Edited by author 02.11.2011 07:20

Edited by author 02.11.2011 08:20
Re: Stack Overflow
Posted by cxjyxx_me 28 Apr 2012 06:55
{$m 100000000000000000000}
Re: Stack Overflow
Posted by rumazius 17 Jun 2021 20:27
You can use "G++ 9.2 x64" language to avoid it