Greetings!
The at SPOJ running GHC version 6.10.4 is more than four years old now, and thus lacking a whole lot of performance optimization and modules added since 2009.
Therefore I beg you, mighty SPOJ admins, in the name of many many other Haskell programmers, please update the GHC to its newest version, or at leas some version 7.x.

I hope you may fulfil my wish.

Thanks,
Sascha.