Skip to content

propilideno/cp-tips

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Competitive Programming Tips 🥷🎯

Security Check Release Community

[ 📜 Templates 📜 | Compile Example | Usage Example | 📄 Cheat Sheets 📄 ]

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 📜

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 🔎

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 👨‍💻

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 📄

Consider giving us a star ⭐

If you have used or benefited in any way, we kindly ask you to show your support by giving us a 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