Skip to content

ntuorangejuice/judge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

judge - online judge helper

Functions

Auto initialze, compile, and run against input cases.

Install

Download the repository. Add export PATH=$PATH:<path-to-judge> to your .bashrc or .zshrc file.

Usage

Commands:

init [<solution_name>] [-l <cpp/java>] [-t <template>]
    Create a solution in specified language (default C++).
    Solution will be set to current directory if not specified, which is the same for the followings.

edit <solution_name>
    Open Sublime Text to edit the solution.

run <solution_name> [-i <input_file>]
    Compile a solution and run against test cases.
    This is the default command if no command is specified.

check <solution_name> [-i <input_file>]
    Compile a solution and run against test cases, and check the output against correct answer.


Options:

--help, -h
    Print this user manual.

--version, -v
    Print software version.

About

Probably the first online judge command helper.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published