/cp-snippets

Competitive programming Snippets ( C++ )

Primary LanguageC++

Cp-snippet

This is an open-source project. It contains a collection of boilerplate code for competitive programming contests such as kickstart, code jam, CodeForces-contest, CodeChef-contest, etc.

Motivation for the project

  • Have you ever given a contest? Find some common code in every problem (like input, output, header files).
  • Getting bored writing this code, again and again, every time?
  • Wanna save a few minutes writing a contest and drastically improve your rank?

I hope you can gain some insights from this repo and use it for yourself on your cp journey. If you feel I have missed out on some important things, be sure to create an issue. And feel free to share your knowledge.

How to download and use

  1. Star the repo
  2. Click on the fork
  3. Go to your repositories
  4. Find the cp-snippets repo ( for most people, this will be on the top of the list )
  5. Click on the code button
  6. Copy the HTTPS link
  7. Go to the folder on your system where you want to store this.
  8. Git bash there
git clone <<copied link>>
  1. Refer to the explanation folder; the code or snippets and the logic behind them are given there.

Code of Conduct

Please read our Code of Conduct

For Contribution

Please refer to (Contributing guidelines) for more details.

Join our Discord:

Join Our Discord.