Hi, I wonder which are C++ command line compiler arguments.
I have found out that turning -O2 optimizations cause programs to be A LOT faster.
For example I try to solve RATTERN, there I use a lot of vectors. My program, beeing compiled with optimizations turned off works ~50 seconds on 20 tests. But when optimizations are turned on program starts working about 12 seconds.
Anyway, on some contests like IOI optimizations are turned on.
I think this is very big difference. Anyway, could you please tell us what C++ compilation options do you use?