CppFastOlympicCoding
Tools for competitive programming for Sublime Text 3 & 4
Details
Installs
- Total 28K
- Win 19K
- Mac 4K
- Linux 5K
Feb 2 | Feb 1 | Jan 31 | Jan 30 | Jan 29 | Jan 28 | Jan 27 | Jan 26 | Jan 25 | Jan 24 | Jan 23 | Jan 22 | Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | Jan 13 | Jan 12 | Jan 11 | Jan 10 | Jan 9 | Jan 8 | Jan 7 | Jan 6 | Jan 5 | Jan 4 | Jan 3 | Jan 2 | Jan 1 | Dec 31 | Dec 30 | Dec 29 | Dec 28 | Dec 27 | Dec 26 | Dec 25 | Dec 24 | Dec 23 | Dec 22 | Dec 21 | Dec 20 | Dec 19 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 26 | 29 | 32 | 37 | 32 | 35 | 18 | 29 | 24 | 26 | 22 | 36 | 23 | 37 | 42 | 26 | 64 | 22 | 21 | 28 | 26 | 42 | 30 | 38 | 37 | 23 | 18 | 27 | 17 | 25 | 24 | 27 | 22 | 15 | 19 | 14 | 20 | 26 | 18 | 17 | 34 | 23 | 21 | 17 | 19 | 20 |
Mac | 4 | 6 | 3 | 7 | 14 | 5 | 10 | 15 | 5 | 4 | 3 | 8 | 11 | 10 | 12 | 4 | 14 | 9 | 4 | 8 | 6 | 5 | 6 | 10 | 9 | 9 | 7 | 7 | 7 | 2 | 7 | 14 | 7 | 7 | 5 | 10 | 3 | 10 | 8 | 15 | 9 | 6 | 6 | 7 | 7 | 3 |
Linux | 3 | 15 | 5 | 8 | 3 | 7 | 7 | 5 | 5 | 3 | 4 | 7 | 7 | 5 | 3 | 16 | 5 | 5 | 3 | 3 | 6 | 7 | 2 | 1 | 4 | 5 | 6 | 4 | 4 | 2 | 4 | 5 | 6 | 4 | 3 | 4 | 7 | 5 | 5 | 3 | 3 | 1 | 5 | 3 | 2 | 2 |
Readme
- Source
- raw.githubusercontent.com
Fast Olympic Coding plugin for Sublime Text 3 & 4
Installation
- Install via Package Control
- Install manually:
download plugin into packages (Preferences — Browse packages...
)
Warning! rename plugin folder to FastOlympicCoding
TestManager
TestManager Keybindings
- ctrl+b (OSX) ctrl+alt+b (Linux + Win) compile and run
- ctrl+enter new test
- ctrl+c (OSX) ctrl+x (Linux + Win) kill process
- ctrl+shift+b (OSX) run with debugger
- ctrl+d delete test
- ctrl+super+up/ctrl+super+down (OSX) ctrl+shift+up/ctrl+shift+down (Linux + Win) swap tests
- cmd+k, cmd+p (OSX) ctrl+k, ctrl+p (Linux + Win) close/open right panel
Settings
- To edit settings
- press cmd+shift+p (OSX) ctrl+shift+p (Linux + Win) and type
FastOlympicCoding: Open Settings
- or
Preferences — Package Settings — FastOlympicCoding
- press cmd+shift+p (OSX) ctrl+shift+p (Linux + Win) and type
StressTesting
- To stress test a solution, you need to implement the three following files:
<name>.cpp
- program that works incorrect<name>__Good.cpp
- program that works correct<name>__Generator.cpp
- program that generates tests, you can read a seed for a random generator in the input
- Type
FastOlympicCoding: Make Stress
in the command palette to run andFastOlympicCoding: Stop Stress
to stop stress testing
ClassCompletion
- Type aliases to substitute them with data types
- Customize aliases in the settings file
CppLint
- Error highlighting works in real-time
- Specify custom compile command in the settings file
Debugger
- debugger only for OSX
- ctrl+shift+b to run with debugger
- point the cursor on a variable to see its value
- to select a stack frame (type
FastOlympicCoding: Select Frame
in the command palette) - the only one dependency is xcode (you can install it with
xcode-select --install
)