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 1471. Distance in the Tree

Me too. Does anyone know what's so special about #5?


Edited by author 15.07.2008 10:16
I had this problem.
You have to write
#pragma comment(linker, "/STACK:1000000000")
in your program, if you use C++
Indeed, I had the same problem but after I put this ( #pragma comment(linker, "/STACK:1000000000") ) it works.
Anyway, what does this do? Why does my program works if I write this?