Quickly compile, run and judge competitive programming problems. Add testcases manually or Download automatically.
Supports tons of websites including AtCoder, Codeforces, Codechef, UVa Online Judge and more!
Whats new : This new feature adds a new shortcut for adding new testcase - Ctrl+Alt+N
(only when you are focused in the results screen). Also includes bugfixes, and genreal UX improvements including new animations!
Click on the
on your browser address bar to automatically download testcases and create .cpp file. You need to install the competitive companion extension to use this, and set it up.
- Use the shortcut
Ctrl + Alt + B
to activate. - You can choose additional compiler flags and save location from VSCode settings.
Change settings to hoose custom compiler flags and testcase/binary save location and more.
It is simple to use Competitive Companion with this extenison.
-
Download Competitive Companion for your browser : Firefox Google Chrome
-
That's it! Now just open a problem page, click on the
in the browser add-ons area to download problem and testcases. You must open VS Code in a folder to use this. To open in a folder, just press
File> Open Folder
orCtrl+K then Ctrl+O
.
(See firefox help video or chrome help video)
-
Or Type
Ctrl+ Shift + P
and select "Run Testcases Command". -
Or Use the shortcut
Ctrl + Alt + B
to activate. -
When focused on the results screen, press
Ctrl + Alt + N
to create a new testcase.
The GNU C++ Compiler ( g++ ) and GNU C compiler (gcc ) must be installed and should be accesible from the terminal/command prompt. For competitive companion support, download the extension.
This extension was created by Divyanshu Agrawal (https://github.com/agrawal-d). Please report bugs by creating an issue using the link above. Thank you for using this extension.
If you need help using this extension, create an issue here and the developers will get back to you.
Release notes are no longer maintained.