It is basically a header file that includes every standard library.
People do focus more on finding the algorithm to solve a problem than on software engineering.
πΌππ«ππ£π©ππππ¨ π€π πππ©π¨/π¨π©π ππ£ π++
β In contests, using this file is a good idea, when you want to reduce the time wasted doing chores; especially when your rank is time sensitive.
β This also reduces all the chores of writing all the necessary header files.
β You donβt have to remember all the STL of GNU C++ for every function you use.
πΏππ¨πππ«ππ£π©ππππ¨ π€π πππ©π¨/π¨π©π ππ£ πΎ++
β bits/stdc++.h is a non-standard header file of GNU C++ library. So, if you try to compile your code with some compiler other than GCC it might fail.
β Using it would include a lot of unnecessary stuff and increase compilation time.
β This header file is not part of the C++ standard and is, therefore, non-portable, and should be avoided.
Read related articles:
What is the difference between C and C++?
Top comments (0)