CppFastOlympicCoding
Tools for competitive programming for Sublime Text 3 & 4
Details
Installs
- Total 45K
- Win 30K
- Mac 8K
- Linux 7K
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 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | Dec 14 | Dec 13 | Dec 12 | Dec 11 | Dec 10 | Dec 9 | Dec 8 | Dec 7 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 2 | 18 | 14 | 13 | 10 | 12 | 16 | 14 | 20 | 16 | 13 | 18 | 19 | 15 | 34 | 18 | 22 | 16 | 14 | 10 | 8 | 15 | 8 | 12 | 10 | 18 | 12 | 15 | 15 | 21 | 12 | 15 | 28 | 20 | 12 | 12 | 13 | 14 | 20 | 15 | 10 | 20 | 21 | 25 | 17 | 9 |
Mac | 0 | 3 | 3 | 7 | 3 | 8 | 4 | 9 | 3 | 6 | 2 | 6 | 6 | 2 | 3 | 7 | 3 | 6 | 8 | 6 | 9 | 2 | 7 | 8 | 3 | 9 | 5 | 4 | 9 | 5 | 4 | 4 | 6 | 7 | 5 | 1 | 6 | 11 | 4 | 5 | 3 | 4 | 4 | 7 | 15 | 6 |
Linux | 1 | 2 | 1 | 4 | 1 | 4 | 4 | 0 | 3 | 1 | 1 | 5 | 1 | 2 | 3 | 1 | 4 | 3 | 9 | 3 | 3 | 2 | 2 | 0 | 4 | 0 | 0 | 1 | 4 | 5 | 4 | 1 | 5 | 1 | 7 | 2 | 5 | 2 | 3 | 2 | 5 | 5 | 3 | 4 | 0 | 4 |
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
)