{"id":15047482,"url":"https://github.com/propilideno/cp-tips","last_synced_at":"2026-01-24T14:45:23.983Z","repository":{"id":166852329,"uuid":"642403822","full_name":"propilideno/cp-tips","owner":"propilideno","description":"Tips for C++ Competitive Programming","archived":false,"fork":false,"pushed_at":"2023-07-25T21:23:39.000Z","size":64,"stargazers_count":40,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-14T14:48:43.782Z","etag":null,"topics":["algorithms","cheatsheet","cheatsheets","codeforces","competitive-programming","cpp","cpp11","cpp14","cpp17","cpp20","cpptemplates","data-structures","leetcode","quickstart","templates","tips","uva","vjudge"],"latest_commit_sha":null,"homepage":"https://propi.dev/cp","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/propilideno.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-18T13:43:41.000Z","updated_at":"2025-03-30T17:13:47.000Z","dependencies_parsed_at":"2024-12-25T22:32:55.073Z","dependency_job_id":null,"html_url":"https://github.com/propilideno/cp-tips","commit_stats":{"total_commits":90,"total_committers":3,"mean_commits":30.0,"dds":0.4666666666666667,"last_synced_commit":"ca1ded97c4177b93f764e100c1c957981ea2421c"},"previous_names":["propilideno/competitive-programming-tips","propilideno/cp-tips"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/propilideno/cp-tips","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/propilideno%2Fcp-tips","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/propilideno%2Fcp-tips/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/propilideno%2Fcp-tips/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/propilideno%2Fcp-tips/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/propilideno","download_url":"https://codeload.github.com/propilideno/cp-tips/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/propilideno%2Fcp-tips/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28730186,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T10:24:43.181Z","status":"ssl_error","status_checked_at":"2026-01-24T10:24:36.112Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithms","cheatsheet","cheatsheets","codeforces","competitive-programming","cpp","cpp11","cpp14","cpp17","cpp20","cpptemplates","data-structures","leetcode","quickstart","templates","tips","uva","vjudge"],"created_at":"2024-09-24T20:58:58.596Z","updated_at":"2026-01-24T14:45:23.964Z","avatar_url":"https://github.com/propilideno.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Competitive Programming Tips :ninja::dart:\n[![Security Check](https://github.com/propilideno/cp-tips/actions/workflows/link-integrity-check.yml/badge.svg)](https://github.com/propilideno/cp-tips/actions/workflows/link-integrity-check.yml) [![Release](https://img.shields.io/github/release/propilideno/cp-tips.svg)](https://github.com/propilideno/cp-tips/releases/latest) [![Community](https://img.shields.io/badge/CP%20Community%20-Join_us-orange?style=flat-square\u0026logo=c%2B%2B)](https://github.com/propilideno/cp-tips/discussions/5)\n\n[ [**: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) ]\n\nTry it now in your terminal: `bash \u003c(curl -sL bash.propi.dev/cp)`\n\n![image](https://github.com/propilideno/cp-tips/assets/105776775/20ab9764-fdfa-4051-97f4-a8f9a9e48f8e)\n\n\nC++ Competitive Programming tips to **improve your thinking speed**, making your life much easier.\n- You'll be able to **quickstart** your coding problems.\n- Improving your **productivity** while solving coding problems by using our **templates.**\n- Providing a better knowledge access with **Cheat Sheets** and quick reference material and links.\n\n![cp-tips](https://github.com/propilideno/cp-tips/assets/105776775/ed7a636c-f4dd-4849-8e4f-6fa2e2bc5379)\n\n## Coding Problems Template :scroll:\n\u003cdetails\u003e\n\u003csummary\u003e Motivation behind `buildLab.sh`\u003c/summary\u003e\n\n![image](https://github.com/propilideno/cp-tips/assets/105776775/8d2599ac-167f-47ca-8789-3c7627996e73)\n\nIf 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.\n\u003c/details\u003e\n\n### Filling folder with `.cpp`, `.txt` and `Makefile` :mag_right:\nOpen the `terminal` and type:\n\n**Current** version (**Main** branch)\n```\nbash \u003c(curl -sL bash.propi.dev/cp)\n```\n**Upcoming** version (**Develop** branch)\n```\nbash \u003c(curl -sL bash.propi.dev/upcoming/cp) up\n```\n\n### Running and Debugging :man_technologist:\nAfter runned `bash script`, you can use **Makefile** to run and debug your coding problems.\n![image2](https://github.com/propilideno/cp-tips/assets/105776775/24fbb977-bdee-425c-8f45-e27cdea67191)\n\nExample of usage if you want to **run**, **debug**, **gdb** coding problem D:\n```\nmake run-d        // Run with minimum compile flags \nmake debug-d      // Run with a lot of compile flags\nmake gdb-d        // Run with gdb\nmake valgrind-d   // Run with valgrind\n```\n\n### Template usage\nUsing **standard** or **complex** templates, you can write less for the same solution\n\n![image](https://github.com/propilideno/cp-tips/assets/105776775/64f5749f-76ee-4801-bcc4-3f526dc0e25d)\n![Usage2](https://github.com/propilideno/cp-tips/assets/105776775/be5fab9d-f6ad-421d-b725-63deaaed7659)\n\n\n## Cheat Sheets and References :page_facing_up:\n- [Best C++ CheatSheet](https://hackingcpp.com/cpp/cheat_sheets.html): The most complete and the best C++ CheatSheet\n- [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\n- [Test Cases](https://www.udebug.com/): Site with test cases for lots of coding problems.\n- [C++ Reference](https://cplusplus.com/reference/): When searching, if you want example of usage click in constructor.\n- [C++ Tricks](https://www.geeksforgeeks.org/c-tricks-competitive-programming-c-11): Some C++ tricks, usefull for Competitive Programming\n- [Modern C++ Features](https://github.com/AnthonyCalandra/modern-cpp-features): Learn the difference between C++ versions here. Like C++11, C++17.\n- [CP Algorithms CheatSheet](https://github.com/hackslash-nitp/cheat-sheet): Usefull reference for Competitive Programming Problems.\n- [75 Common Coding Problems](https://docs.google.com/spreadsheets/d/1awb62Klhzvmx_L0-ncXwItvjkg6Ngwrczx5qYNtCZhs/edit#gid=0): Solution for most common Coding Problems.\n\n## Consider giving us a star :star:\nIf 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.\n\nWe 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.\n\nThank you for your interest and contribution to our project. Your support means a lot to us!\n\n## LICENSE\n[MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpropilideno%2Fcp-tips","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpropilideno%2Fcp-tips","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpropilideno%2Fcp-tips/lists"}