How could I change size of stack?

I write on dec-cpp c++ 4.9.1 and my solution has Runtime Error(SIGSEGV) on problem Chef and Digit Jumps?
What I shall to do?

sry for my english.

If your question is how to change size of stack, follow this link on Stack Overflow.


…common, he cannot add command line parameter on CodeChef server…

It seems, like it may be working…