This is a parser - buildtool for codeforces.
-
Inbuilt parser that scrapes input and output test-cases of all questions of a particular contest.

-
code can be compiled and tested against all provided input test-cases (scraped) to check for correctness. This is shown in Output.txt

-
Provide custom input test cases.
-
Clone this repo.
-
Open this folder as work-space in VS Code. (
code .in terminal) -
Make necessary changes to template.cpp ( present inside .vscode ). This acts as your default .cpp file for all problems of a contest.
-
Now, use the keybinding
ctrl+shift+b, and select Create Files. -
Use
ctrl+shift+`to open integrated terminal in vs code. Here type in./parse.py (contest_name)(eg../parse.py 4) to download all the test-cases (input and output) of that particular contest. -
To open codespace for question A, using the keybindings
ctrl+pand type in A.cpp -
To open Output.txt by using the keybindings
ctrl+pand type Output.txt -
To build and test-run code on given test-cases, use
ctrl+shift+band select codeforces builder. -
Custom test-cases can be provided on Input.txt. Follow step 7 and instead of Output.txt, search for Input.txt
Special thanks to johnathan79717 for the parser.

