Giter Site home page Giter Site logo

icpc-cli's Introduction

icpc-cli

Build Status

Enjoy a Codeforces round!

Installation

Make sure that you have added code (VS Code) command in your environment variable.

Clone the repositories

git clone [email protected]:yjl9903/icpc-cli.git

Go to icpc folder and modify config.py.

BASE_PATH = 'C:\\'
CF_PATH = 'CodeForces'

CF_USER = {
    'handle': 'abcd', 'password': 'abcd'
}

Input your path, and icpc init icpc open will use this base path.

Make sure that Codeforces folder in your base path. All the commands related to Codeforces will use this folder.

If you want to use icpc submit, input your account information in CF_USER.

Usage

Init a contest folder

Use icpc init [Folder] or just init [Folder] command to create a contest folder in your base path.

Open a contest

Use icpc open [Folder] or open [Folder] command.

Submit your code

Go to your contest folder.

Use icpc submit command to start submit mode.

Then icpc-cli will use your account to login Codeforces.

Input the contest id, and you can get it in the contest url codeforces.com/contest/[id].

Now, you can just input a, b, c, ... to submit your code!

P.S: Make sure that your code name is a.cpp, b.cpp, c.cpp and so on.

Credits

icpc-cli's People

Contributors

yjl9903 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.