Skip to content

Comment on Libraries in C++ for ACM

Comments

Are you allowed to use STL/BOOST in the competition?

STL is allowed in all the competitions including TC, ICPC, SPOJ, etc BOOST is not allowed in any.

Google Code Jam allows BOOST and all other freely available languages and libraries.

The International Olympiad in Informatics also allows STL, but no other libraries.

why would boost not be allowed but this guy's libraries be?

This guy's library can be contained within your submission source code, so it can be used. BOOST in any case won't be installed or would be kept out of execution sandbox, on the judge server, so BOOST won't be usable. STL will be present along the gcc version they use by default. S = Standard in STL :)

You can anything you like in paper form to the competition, so you could print this guys thing and type it in at the competition. You could certainly do the same for boost (but you'd be limited to the very small subset that is easy to type in).

At least, this is how it was seven years ago.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.