https://github.com/propilideno/cp-tips
Tips for C++ Competitive Programming
https://github.com/propilideno/cp-tips
algorithms cheatsheet cheatsheets codeforces competitive-programming cpp cpp11 cpp14 cpp17 cpp20 cpptemplates data-structures leetcode quickstart templates tips uva vjudge
Last synced: 2 months ago
JSON representation
Tips for C++ Competitive Programming
- Host: GitHub
- URL: https://github.com/propilideno/cp-tips
- Owner: propilideno
- License: mit
- Created: 2023-05-18T13:43:41.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-25T21:23:39.000Z (almost 2 years ago)
- Last Synced: 2024-12-25T22:23:38.570Z (4 months ago)
- Topics: algorithms, cheatsheet, cheatsheets, codeforces, competitive-programming, cpp, cpp11, cpp14, cpp17, cpp20, cpptemplates, data-structures, leetcode, quickstart, templates, tips, uva, vjudge
- Language: C++
- Homepage: https://propi.dev/cp
- Size: 62.5 KB
- Stars: 39
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# Competitive Programming Tips :ninja::dart:
[](https://github.com/propilideno/cp-tips/actions/workflows/link-integrity-check.yml) [](https://github.com/propilideno/cp-tips/releases/latest) [](https://github.com/propilideno/cp-tips/discussions/5)[ [**:scroll: Templates :scroll:**](#filling-folder-with-cpp-txt-and-makefile-mag_right) | [Compile Example](#running-and-debugging-man_technologist) | [Usage Example](#template-usage) | [:page_facing_up: Cheat Sheets :page_facing_up:](#cheat-sheets-and-references-page_facing_up) ]
Try it now in your terminal: `bash <(curl -sL bash.propi.dev/cp)`

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.
## Coding Problems Template :scroll:
Motivation behind `buildLab.sh`

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.
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
## Cheat Sheets and References :page_facing_up:
- [Best C++ CheatSheet](https://hackingcpp.com/cpp/cheat_sheets.html): The most complete and the best C++ CheatSheet
- [Data Structures and Algorithms](https://dev.to/iuliagroza/complete-introduction-to-the-30-most-essential-data-structures-algorithms-43kd): 30 most essential Data Structures and Algorithms
- [Test Cases](https://www.udebug.com/): Site with test cases for lots of coding problems.
- [C++ Reference](https://cplusplus.com/reference/): When searching, if you want example of usage click in constructor.
- [C++ Tricks](https://www.geeksforgeeks.org/c-tricks-competitive-programming-c-11): Some C++ tricks, usefull for Competitive Programming
- [Modern C++ Features](https://github.com/AnthonyCalandra/modern-cpp-features): Learn the difference between C++ versions here. Like C++11, C++17.
- [CP Algorithms CheatSheet](https://github.com/hackslash-nitp/cheat-sheet): Usefull reference for Competitive Programming Problems.
- [75 Common Coding Problems](https://docs.google.com/spreadsheets/d/1awb62Klhzvmx_L0-ncXwItvjkg6Ngwrczx5qYNtCZhs/edit#gid=0): Solution for most common Coding Problems.## 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](LICENSE)