Thank you for your interest in contributing to the Code Chef Solutions repository! This project aims to provide a comprehensive collection of solutions to various problems from CodeChef, enhancing learning and problem-solving skills in competitive programming.
-
Fork the Repository
- Click the "Fork" button at the top-right corner of the repository page to create your own copy.
-
Clone Your Fork
- Clone your forked repository to your local machine:
git clone https://github.com/aviraw/CodeChef.git cd CodeChef
- Clone your forked repository to your local machine:
-
Create a New Branch
- Create a new branch for your contribution:
git checkout -b feature/add-solution
- Create a new branch for your contribution:
-
Add Your Solution
- Add your solution file to the appropriate directory based on the problem type or language.
- Ensure that your code is well-commented and follows good coding practices.
-
Update README.md
- Add your problem name and GitHub username to the README.md file under the "Answers and Problems" section, formatted as follows:
| [Number] | [Problem Name] | [Your GitHub Username] |
- Add your problem name and GitHub username to the README.md file under the "Answers and Problems" section, formatted as follows:
-
Commit Your Changes
- Once you've made your changes, commit them with a meaningful message:
git add . git commit -m "Add solution to [Problem Name]"
- Once you've made your changes, commit them with a meaningful message:
-
Push Your Changes
- Push your branch to your forked repository:
git push origin feature/add-solution
- Push your branch to your forked repository:
-
Create a Pull Request
- Go to the original repository on GitHub.
- Click the "New Pull Request" button.
- Select your branch and provide a detailed description of your changes.
- Ensure that all code submissions are original and not plagiarized from other sources.
- Follow proper naming conventions for files (e.g.,
ProblemName.cpp,ProblemName.py). - Test your code thoroughly before submitting.
- No spammy or low-quality code will be accepted.
We expect all contributors to adhere to a standard of respect and inclusivity. Please be kind and considerate in all interactions within this community.
If you have any questions or need assistance, feel free to open an issue in the repository or reach out directly.
Thank you for contributing to Code Chef Solutions! Your efforts help others learn and grow in their programming journey.