ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Competitive​Programming​Parser

Problem test-case parser for Sublime Text editor from various online judges

Details

Installs

  • Total 1K
  • Win 806
  • Mac 231
  • Linux 176
Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 29 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13
Windows 0 1 1 1 0 2 3 1 2 2 1 2 0 2 2 0 2 0 0 1 1 0 1 2 1 0 0 1 0 3 3 3 0 0 0 4 1 3 1 1 3 0 0 0 4
Mac 0 0 0 0 0 0 0 0 0 0 0 1 2 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 3 0 3 1 0 1 0 1 0 1 0 1 0
Linux 1 0 0 0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0 1 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

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

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 of tests_file_suffix in our package.) in the user settings file of CppFastOlympicCoding.