Quickly compile, run and judge competitive programming problems. Add testcases manually or Download automatically. A VS Code extension.
Using the competitive companion browser extension, cph supports a large number of popular websites like Codeforces, Codechef, TopCoder etc.
-
Install cph in VS Code and open any folder.
-
Install competitive companion in your browser.
-
Use Companion by pressing the green plus (+) circle from the browser toolbar when visiting any problem page.
-
The file opens in VS Code with testcases preloaded. Press
Ctrl+Alt+B
to run them. -
Install the cph-submit browser extension to enable submitting directly.
You can also use this extension locally, just open any supported file and press
'Run Testcases' (or Ctrl+Alt+B
) to manually enter testcases.
- Autmatic compilation with display for compilation errors.
- Intelligent judge with support for signals, time outs and run time errors.
- Works with Competitive Companion.
- CodeForces auto-submit integration.
- Works locally for your own problems.
- Support for several languages.
- C++
- C
- Rust
- Python
You can contribute to this extension in many ways:
- File bug repots by creating issues.
- Develop this extension further - see developer giude.
- Spreading the word about this extension.
This extension is MIT Licensed.