What runtime options are used for haskell programs, if any?
For example on problem 41 (Play on Words) I've written a recursive algorithm to process the testcases (and don't know, how to formulate that iteratively). Therefore I need a stacksize of at least 3.8 MB (testet locally on ghc 6.0.1) to solve the input:
(100000 times "zz")
If compiled without the -O flag, I need even much more memory.
So, if I execute the command sequence
I get correct results, whereas other combinations (without RTS or -O) print out
I also would appreciate to know, if this error message is treatet as Wrong Answer or Runtime Error by the judge system, because I got wrong answer on my submission, but I suppose, this error had occured.
Best regards,
Robin