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

Easy CP

by RohitMazumder Win ALL

A Sublime Text 3 plugin for parsing and running sample testcases with ease!

Details

Installs

  • Total 122
  • Win 122
  • Mac 0
  • Linux 0
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 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25
Windows 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

EasyCP

EasyCP is a plugin for ST3, which can parse the inputted url and scrap out the sample input and sample output testcases. Further it can run your code on those sample inputs and compares the output so obtained with the given sample output!

EascyCP allows you to parse all tasks from the problemset at once, so in 2 clicks you can get all tests from the contest!

Requirements

  • Languages supported: Java, C++, Python 3
  • Websites supported: Codeforces

Usage

First of all, go to Preferences > Package Settings > EasyCP settings and edit compile and run commands.

  • Go to Easy CP -> Parse Test-cases in the menu bar, to scrap sample testcases.
  • Enter the url in the “Input URL” box at the bottom of the screen.
  • Go to Easy CP -> Compile in the menu bar to compile your code.
  • Go to Easy CP -> Run in the menu bar to execute your code on the sample testcases.

NOTE:

If you parse only one task, test cases will be associated with the current file name, for example if file name is Task_B, then test cases folder will be called EasyCP_Task_B.

If you parse the entire problemset, then test cases will be created with file names equal to the letters of the problems, so you have to name your files accordingly, for example, A.py,E.cpp, D.java (not Tesk_E.py or f.cpp).

However, you can always change names simply by renaming the EasyCP folder, for example, changing EasyCP_A => EasyCP_mytask and A.cpp => mytask.cp will work as well.


License: MIT