Welcome to the Competitive Programming Solutions Repository! This repository is dedicated to collecting solutions for various competitive programming problems encountered in tournaments and contests. Here, you'll find organized folders for different tournaments, each containing their respective problems and corresponding solutions.
- Tournament Directories: Each tournament has its own directory named after the tournament (e.g.,
Tournament1
,Tournament2
, etc.). - PDF Files: Inside each tournament folder, you'll find a
problems.pdf
file that contains the problems presented during the tournament. - C++ Solution Files: Each solution is provided in its own
.cpp
file. These files contain the code written to solve the respective problems.
-
Clone the Repository: You can clone this repository to your local machine using the following command:
git clone https://github.com/Josedzzz/competitive-programming.git
-
Navigate to a Tournament: Change your directory to the desired tournament folder:
cd competitive-programming/Tournament1
-
Open the Problem PDF: Review the problems.pdf to understand the challenges.
-
Compile and Run Solutions: You can compile and run the C++ solutions using a command like:
g++ solution1.cpp -o solution1 ./solution1
Contributions are welcome! If you have solutions to competitive programming problems or improvements to existing solutions, feel free to fork the repository and submit a pull request.