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

Competitive Programming

by egtoneyUK ST2/ST3

A Sublime Test plugin that automatically runs test cases when a program is ran.

Details

Installs

  • Total 1K
  • Win 578
  • OS X 142
  • Linux 406
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 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26
Windows 0 0 1 0 0 1 1 1 0 0 0 0 0 1 0 1 0 0 1 1 0 1 1 0 2 3 1 0 0 0 0 0 0 1 0 0 0 0 1 1 1 1 0 2 1
OS X 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
Linux 0 0 1 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 2 1 0 0 0 0 0 0 1 1 1 0 1 1 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

CompetitiveProgramming

A Sublime Test plugin that automatically runs test cases when a program is ran.

How it Works

This plugin creates a new builder for C++11 and when you run your code, Command+Shift+b (OS X) Control+Shift+b (Linux/Windows), it runs your program against all *.in files in the same directory as your source code. This allows you to quickly run your code against many test cases and it will timeout if a test case takes too long.

This is helpful in the application of competitive programming since it allows you to quickly develop code and run against many test cases.

Supported Languages

  • C++11

How to Install

Package Controll

The easiest way to install this plugin is through Package Control. It's also nice because it keeps your plugins up to date.

  • First install Package Control, if you just did this then you should restart Sublime
  • Open up the Command Palette (Command+Shift+p on OS X, Control+Shift+p on Linux/Windows)
  • Select 'Package Control: Install Package'
  • Select 'Competitive Programming'