Hi.
I wrote program in C and got compilation error.
Here it is:
virtual memory exhausted: Cannot allocate memory
My program compiles on my computer which I used to do a lot of programs for SPOJ.
Even on ideone my program executes just with warnings about scanf's.
---link was here---
Did anybody have such problem and managed to fix it?
I can add that the program is veery long and compiles also that long (over 11000 chars, but the limit in the task is 50000 chars).
I would be thankful for help.