Giter Site home page Giter Site logo

nottete / cjudge Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 324 KB

A CLI tool build in python that allows the user to download, test and submit problems from different online judges.

License: MIT License

Shell 0.10% Python 99.63% C++ 0.26%
acepta-el-reto aceptaelreto cli clitool competitive-coding competitive-programming kattis kattis-problems online-judge uva uva-judge uva-online-judge

cjudge's Introduction

Cjudge

Cjudge is a CLI tool build in python that allows the user to download, test and submit problems from different online judges.

Supported judges

This a list of the currently supported judges:

Installation

To install Cjudge just use pip:

pip install cjudge

Warning

If you want to download Kattis problem statements from kattis you must need latexmk. Get more information

Commands

cjudge-create

Given a judge and a problem id it downloads the problem statement, test samples and creates a main.cpp from a configurable template.

cjudge-create judge problem

cjudge-info

Given a problem folder or a judge and a problem id it displays information about the selected problem.

cjudge-info judge problem

or

cjudge-info problem-folder

cjudge-test

Given a problem folder it runs the test samples located in the samples folder.

cjudge-test problem-folder

cjudge-submit

Given a problem folder it submits your problem solution to the corresponding judge.

cjudge-submit problem-folder

Important

It will require you to introduce login credentials every time you login.

Warning

In Kattis the login uses a token you can get from kattis website. Get more information

Configuration

You can configure cjudge in the following folder $HOME/.cjudge. Get more information

cjudge's People

Contributors

nottete avatar

Stargazers

 avatar

Watchers

 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.