Code Monkey home page Code Monkey logo

cf-crawler's Introduction

Installation

Clone this repository and run npm i -g . at the root folder.

Usage

Downloading samples

cf-crawler samples --platform=cf --id=1516

or simply

cf-crawler -p=cf -i=1516

This creates one folder for each problem, each containing your template CPP code and the sample files.

Submitting solutions

You first need to start the submission server.

cf-crawler server --platform=cf

or

cf-crawler server -p=cf

It will ask for your username and password. Once it successfully logs in, you need keep the process running as it is running a server that will submit your solutions to the selected platform.

To submit a solution, run

cf-crawler submit --platform=cf --id=1516 --problem=A solution.cpp

or

cf-crawler submit -p=cf -i=1516 -P=A solution.cpp

If you used the samples command, the Makefile in each problem's folder has a command to submit your code, so you can simply do make submit.

Supported platforms

So far the only implemented platform is Codeforces. I have plans of implementing this for Google competitions as well (Kickstart / GCJ), but I'm too lazy at the moment.

cf-crawler's People

Contributors

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