Can you please enable the C++11 standard. All the other contests (ACM ICPC, Topcoder, IOI 2004, Codeforces, ...) already switched to the new standard and SPOJ should follow as well. We are having a hard time practicing for the upcoming ACMs without it.