CompetitiveProgrammingParser
Problem test-case parser for Sublime Text editor from various online judges
Details
Installs
- Total 2K
- Win 1K
- Mac 277
- Linux 215
Sep 14 | Sep 13 | Sep 12 | Sep 11 | Sep 10 | Sep 9 | Sep 8 | Sep 7 | Sep 6 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | Aug 29 | Aug 28 | Aug 27 | Aug 26 | Aug 25 | Aug 24 | Aug 23 | Aug 22 | Aug 21 | Aug 20 | Aug 19 | Aug 18 | Aug 17 | Aug 16 | Aug 15 | Aug 14 | Aug 13 | Aug 12 | Aug 11 | Aug 10 | Aug 9 | Aug 8 | Aug 7 | Aug 6 | Aug 5 | Aug 4 | Aug 3 | Aug 2 | Aug 1 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 3 | 2 | 1 | 2 | 1 | 3 | 4 | 3 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 2 | 1 | 1 | 2 | 3 | 4 | 3 | 1 | 4 | 1 | 1 | 2 | 2 | 1 | 0 | 0 | 1 | 0 | 0 | 2 | 3 | 1 | 1 | 1 | 1 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 2 | 0 | 3 | 2 | 1 | 1 | 0 | 0 | 1 |
Linux | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 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.