This is a Sublime Text package for parsing problem test-cases from various online judges. The list of supported websites can be found here.
Competitive Programming Parser can:
- parse testcases for a problem
- parse a problem : creates file and parses testcases for the problem
- parse a contest : parses all the problems of a contest
Dependencies
Setup
- Make sure you have
python3
, FastOlympicCoding and Competitive Companion installed. - Add
12345
in the list of ports of competitive-companion browser extension. - Clone the repository inside your Sublime Text Packagse
Usage
-
- For parsing the test-cases for a particular file: Right click anywhere in the file and select
CompetitveProgammingParser -> Parse Testcases
. Key Binding: ctrl+shift+x - For parsing a problem: Right click anywhere in the Sublime Text editor and select
CompetitveProgammingParser -> Parse Problem
. Key Binding: ctrl+shift+y - For parsing a contest: Right click anywhere in the Sublime Text editor and select
CompetitveProgammingParser -> Parse Contest
. Key Binding: ctrl+shift+c
- For parsing the test-cases for a particular file: Right click anywhere in the file and select
- In the browser, navigate to the problem page and click on the competitive-companion extension's
green plus icon
.