Giter Site home page Giter Site logo

mrityunjaynpandey / cph Goto Github PK

View Code? Open in Web Editor NEW

This project forked from agrawal-d/cph

0.0 0.0 0.0 10.66 MB

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

Home Page: https://agrawal-d.github.io/cph

License: GNU General Public License v3.0

JavaScript 4.63% TypeScript 84.94% CSS 6.60% HTML 3.83%

cph's Introduction

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

CPH is in a steady-state. There are no new features planned for the extension. Only bug-fixes will be worked on.

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.

Before creating a Pull Request, please create an issue to discuss the approach. It makes reviewing and accepting the PR much easier.

License

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

cph's People

Contributors

agrawal-d avatar ag-7219 avatar dependabot[bot] avatar apurv-patani avatar adarsh-sgh avatar arnav-ag avatar arcane810 avatar dakshkhetan avatar haizs avatar mr2rm avatar m-prerna avatar kushagra1212 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.