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