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:
Dependencies
Setup
python3
, FastOlympicCoding and Competitive Companion installed.12345
in the list of ports of competitive-companion browser extension.Usage
1.
CompetitveProgammingParser -> Parse Testcases
.
Key Binding: ctrl+shift+x CompetitveProgammingParser -> Parse Problem
.
Key Binding: ctrl+shift+y CompetitveProgammingParser -> Parse Contest
.
Key Binding: ctrl+shift+c
green plus icon
. Some Common Pitfalls
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 of tests_file_suffix
in our package.) in the user settings file of CppFastOlympicCoding.