Most of the cases in competitive programming it is necessary to know about the complexity of a code before use it. We uses different library functions and STL in C++ coding. And there is a beautiful documentation on Most of the cases in competitive programming it