Competitive Programming Templates are essential for anyone who wants to excel in competitive programming. This Competitive Programming Templates repo is a collection of pre-written code snippets that can be reused in different programming contests. These templates can save a lot of time and effort during a contest, allowing you to focus on solving the problems instead of writing the same code over and over again.
This repo is a collection of various algorithms and data structures that you have found useful in past contests. Some of the algorithms and data structures included here are sorting algorithms, graph algorithms, and data structures like Segment Tree, Fenwick Tree,and Trie.
This repo can be incredibly useful for competitive programmers who are just starting out or who are looking to improve their skills. They can use these templates as a starting point for their own code and modify it to fit the specific requirements of the contest they are participating in.
Overall, These Competitive Programming Templates repo can be a valuable resource for the competitive programming community, and can help make the process of participating in contests more efficient and enjoyable.
Make sure you have installed all of the following prerequisites on your development machine:
- Git - Download & Install Git. OSX and Linux machines typically have this already installed.
- C++ - you can download Codeblocks or MinGW Compiler or Microsoft Visual Studio to run C++ codes on your cmachine.
- VScode (Optional) - Download & install VScode
first open cmd in the place you want to download the project in then write this commands :
Just clone the reop:
git clone https://github.com/suliman-99/cp.git
then enjoy it!
CP
│ README.md
└───Templates
│ │ Data_Structure
│ │ Graph
│ │ Math
│ │ Matrices
│ │ Search
│ │ String_processing
│ │ _Base_Template.cpp
│ │ _Guid.cpp
│ │ Bit_Mask.cpp
│ │ IncExc.cpp
│
└───vscode
| | cpp.json.code-snippets
| | settings.json
| | tasks.json
/Templates/_Base_Template.cpp
tamplate which you can write your code inside/Templates/_Guid.cpp
implementations for some commands you can forget thier syntax
If you have suggestions for how Competitive Programming Templates could be improved, or want to report a bug, open an issue! We'd love all and any contributions.
For more, check out the Contributing Guide.
Suliman Awad - sulimanawadstudy@gmail.com - Linkedin
Project Link: https://github.com/suliman-99/cp
MIT License
Copyright (c) 2023 Suliman Awad
For more, check out the License File.