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

Crash StackOverflow at Test#17,how can I fix it?thank you~~
Posted by Fighting 20 Aug 2011 20:01
Edited by author 20.08.2011 21:42
I have got an AC now, haha~~
I change my dfs to bfs,and its just OK~~~
So the dfs goes too deep leading to my stack overflow~~
best wishes~
Edited by author 20.08.2011 21:42

Edited by author 20.08.2011 23:07
Re: Crash StackOverflow at Test#17,how can I fix it?thank you~~
Posted by RYANaaa 21 Mar 2012 15:55
See "Other Notes here": http://acm.timus.ru/help.aspx?topic=cpp
maybe something like #pragma comment(linker, "/STACK:16777216") can help

Edited by author 21.03.2012 15:55