CompetitiveProgrammingParser
Problem test-case parser for Sublime Text editor from various online judges
Details
Installs
- Total 2K
- Win 1K
- Mac 295
- Linux 237
Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | Dec 14 | Dec 13 | Dec 12 | Dec 11 | Dec 10 | Dec 9 | Dec 8 | Dec 7 | Dec 6 | Dec 5 | Dec 4 | Dec 3 | Dec 2 | Dec 1 | Nov 30 | Nov 29 | Nov 28 | Nov 27 | Nov 26 | Nov 25 | Nov 24 | Nov 23 | Nov 22 | Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 2 | 1 | 0 | 0 | 1 | 0 | 2 | 0 | 0 | 1 | 2 | 1 | 2 | 0 | 0 | 1 | 0 | 6 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 1 | 0 | 3 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 2 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 |
Linux | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Competitve Programming Parser for Sublime Text
This is a Sublime Text package for parsing problem test-cases from various online judges. You can then run your solution against the testcases with the help of CppFastOlympicCoding. 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
1.
- 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
2. In the browser, navigate to the problem page and click on the competitive-companion extension's green plus icon
.
3. Use CppFastOlympicCoding to run the solution against the parsed testcases.
Some Common Pitfalls
- Windows users should make sure that
tests_file_suffix
is set to same value in the settings file of our package and CppFastOlympicCoding. In CppFastOlympicCoding,tests_file_suffix
is by default set to:tests
. The problem with this is that:
is not allowed in filename on windows. Fix is to override it to__tests
(which is also the default value oftests_file_suffix
in our package.) in the user settings file of CppFastOlympicCoding.