1 / 9
Aug 2011

Are there any plans to add C++0x to the supported languages? I've been using C++0x and it's much better than plain C++.

In order to support C++0x, all that's required is gcc 4.7 (you have to download it from svn and build from source, though), and adding a flag -std=c++0x when invoking g++.

  • created

    Aug '11
  • last reply

    Aug '15
  • 8

    replies

  • 758

    views

  • 6

    users

10 days later
1 year later

There's just one big issue :
I'm not sure, but it would allow some precomputations to be done at compile-time and kill a good half of every problem. (Moreover some submissions could compile for years...)
On the other hand, it could be good to see the incoming of C++11, with integration of compile time in the total time, so a compile-time too big led to TLE.

Just a 2c argument of a non C++ user.

Francky, you may have right. This could hurt the idea of problem solving.
But, surely there is a way to forbid an agressive compile time precomputations, e.g.
some compile time options (?). I never used those features (AFAIK).

10 months later

You just have to set the compile time limit to 10 secs or so and that's it. Other sites (Topcoder, Codeforces, ACM ICPC...) have all migrated to the new standard and I think it's time that SPOJ follows the trend.

1 year later

C++14 has been added so I'm moving the topic to the archive.

7 months later

archived Aug 28, '15

archived Aug 28, '15