Rapid292 / competitive-programming-vscode-template

A Competitive Programming setup for C++, Java, Python languages on Visual Studio Code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!

Preview

preview

How to use

  1. Clone the repository
  2. Open the folder in Visual Studio Code
  3. Choose the language of your choice
  4. Add the input to input.txt file.
  5. Run the code!
  6. Output will be generated in output.txt file

Points to remember

  1. 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.
  2. If the input format is different from this one, please make necessary changes to the main() function.

Contributions

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:

  1. Fork the repository
  2. Commit the changes to your forked repository
  3. Create a PR to master branch of this repository.

Happy Coding!

About

A Competitive Programming setup for C++, Java, Python languages on Visual Studio Code


Languages

Language:Java 60.5%Language:C++ 33.0%Language:Python 6.5%