C++ competitive programming tricks