|
|
back to boardStack 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 {$m 100000000000000000000} Re: Stack Overflow You can use "G++ 9.2 x64" language to avoid it Re: Stack Overflow Posted by Solver 4 Jun 2026 11:33 You can also use #pragma comment(linker, "/STACK:16777216) for MSVC and both heavy-light or sqrt decompositions can be performed with BFS, so no recursion needed |
|
|