It is currently Tue Aug 11, 2020 10:06 pm Advanced search

C++ compilation

Code won't compile? Found a bug? Post here!

C++ compilation

Postby kduleba » Fri Feb 05, 2010 12:36 am


It seems that you're compiling C++ code without optimization. This causes the programs to take a *huge* performance hit. Please consider adding -O2 to the command line.

BTW - what compiler version are you using?
Posts: 27
Joined: Fri Feb 05, 2010 12:35 am

Re: C++ compilation

Postby amstan » Fri Feb 05, 2010 12:52 am

We have acknowledged this, we'll look into it. Thanks for suggestion.
We're running gcc version 4.3.

Update: -O2 has been added
Alexandru M. Stan
Contest Organizer
User avatar
Contest Organizer
Posts: 691
Joined: Sun Jan 31, 2010 4:02 am
Location: Stoney Creek, Ontario

Return to Technical Issues

Who is online

Users browsing this forum: No registered users and 2 guests