[quote="japi"]Done, now programs are being compiled with '-O2':
ghc6 -o tested tested.hs -O2 --make
Is it ok?
But I think, maybe your pc is a little faster than SPOJ checker...?[/quote]
It is still giving me a TLE...
But I will take your word for it. I have to optimize my code further..
Can I know how long it took to run in the spoj machine?