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

Competitive Programming

by egtoneyUK ALL

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

Details

Installs

  • Total 4K
  • Win 3K
  • Mac 526
  • Linux 1K
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 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7
Windows 3 0 1 1 1 0 0 0 0 0 2 0 2 0 0 0 0 0 0 0 1 0 0 0 3 0 5 2 2 3 2 0 0 0 3 1 1 0 0 2 3 0 2 0 0 2
Mac 0 0 0 0 0 0 0 0 0 0 3 0 0 1 0 0 0 0 1 0 0 0 1 0 0 1 1 0 0 0 0 0 0 1 0 0 1 1 0 2 0 0 0 0 0 0
Linux 0 0 0 1 0 0 0 0 0 0 1 0 0 0 1 0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 2 0 1 0 0 0 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'