Need help with cph?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

agrawal-d
184 Stars 28 Forks GNU General Public License v3.0 239 Commits 23 Opened issues

Description

Makes judging, compiling, and downloading problems for competitive programming easy.

Services available

!
?

Need anything else?

Contributors list

# 202,148
Shell
Objecti...
C
codefor...
223 commits

Competitive Programming Helper (cph)

Build Status Downloads

This extension allows you to quickly compile, run and judge competitive programming problems from within VS Code. You can automatically download testcases write & test your own problems. Once you are done, you can submit your solutions directly with the click of a button!

Using the competitive companion browser extension, cph supports a large number of popular platforms like Codeforces, Codechef, TopCoder etc.

Screenshot

Quick start

  1. Install cph in VS Code and open any folder.
  2. Install competitive companion in your browser.
  3. Use Companion by pressing the green plus (+) circle from the browser toolbar when visiting any problem page.
  4. The file opens in VS Code with testcases preloaded. Press
    Ctrl+Alt+B
    to run them.
  • (Optional) Install the cph-submit browser extension to enable submitting directly on CodeForces.
  • (Optional) Install submit client and config file from the Kattis help page after logging in.

You can also use this extension locally, just open any supported file and press 'Run Testcases' (or

Ctrl+Alt+B
) to manually enter testcases.

See detailed user guide

Features

  • 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.
  • Kattis auto-submit integration.
  • Works locally for your own problems.
  • Support for several languages.

Supported Languages

  • C++
  • C
  • Rust
  • Python
  • Java

Contributing

You can contribute to this extension in many ways:

  • File bug reports by creating issues.
  • Develop this extension further - see developer guide.
  • Spreading the word about this extension.

Telemetry

The extension aggregates how many times the extension was used. Only this information is sent to AppInsights - no private information is collected. The extension respects your VS Code telemetery settings, if it's disabled, the extension does not collect any statistics.

License

This software is licensed under GPL Version 3 or later ( at your choice ).

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.