Competitive Programming Template for VS Code
A Competitive Programming setup for C++, Java, Python languages on Visual Studio Code. I have written a detailed Medium Article on how to setup VS Code for Competitive Programming. Do check it out!
- Clone the repository.
- Open the folder in Visual Studio Code
- Choose the language of your choice.
- Add the input to input.txt file.
- Run the code!
- Output will be generated in output.txt file.
- All the three files main.cpp, Main.java, main.py contain a template code which first accepts the number of testcases and calls a function solve() where you can write your code.
- If the input format is different from this one, please make necessary changes to the main() function.
All contributions are welcomed through issue tracker and pull requests.
- Please feel free to create issues if you are facing some errors while running the sample templates. I spent a lot of time fixing things so hopefully I can help you resolve them :)
- If you find better header functions our better IO techniques, do contribute!
- If you can add language templates for other languages, do contribute!
To contribute follow the steps below:
- Fork the repository.
- Commit the changes to your forked repository.
- Create a PR to master branch of this repository.