cp-tips icon indicating copy to clipboard operation
cp-tips copied to clipboard

Tips for C++ Competitive Programming

Competitive Programming Tips :ninja::dart:

Security Check Release Community

[ :scroll: Templates :scroll: | Compile Example | Usage Example | :page_facing_up: Cheat Sheets :page_facing_up: ]

Try it now in your terminal: bash <(curl -sL bash.propi.dev/cp)

image

C++ Competitive Programming tips to improve your thinking speed, making your life much easier.

  • You'll be able to quickstart your coding problems.
  • Improving your productivity while solving coding problems by using our templates.
  • Providing a better knowledge access with Cheat Sheets and quick reference material and links.

cp-tips

Coding Problems Template :scroll:

Motivation behind `buildLab.sh`

image

If you have to do lots of exercise and rewrite every single template, you don't need to do this anymore. With our templates, you can fill a folder with usefull files, perfect for your job.

Filling folder with .cpp, .txt and Makefile :mag_right:

Open the terminal and type:

Current version (Main branch)

bash <(curl -sL bash.propi.dev/cp)

Upcoming version (Develop branch)

bash <(curl -sL bash.propi.dev/upcoming/cp) up

Running and Debugging :man_technologist:

After runned bash script, you can use Makefile to run and debug your coding problems. image2

Example of usage if you want to run, debug, gdb coding problem D:

make run-d        // Run with minimum compile flags 
make debug-d      // Run with a lot of compile flags
make gdb-d        // Run with gdb
make valgrind-d   // Run with valgrind

Template usage

Using standard or complex templates, you can write less for the same solution

image Usage2

Cheat Sheets and References :page_facing_up:

Consider giving us a star :star:

If you have used or benefited in any way, we kindly ask you to show your support by giving us a star :star: on GitHub. Your star is a valuable feedback for us, and it encourages us to continue improving the project.

We are committed to delivering the best experience possible, and your feedback plays a crucial role in achieving this goal. So, if you enjoyed, we would greatly appreciate your support through a star on our GitHub repository.

Thank you for your interest and contribution to our project. Your support means a lot to us!

LICENSE

MIT License