Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

auto-judge

julyydev47ISC0.0.10TypeScript support: included

automatic compilation, execution, and I/O testing of online judge source code

online, judge, boj

readme

auto-judge

There is a critical issue(can't get test cases) with the old version.

Please use it after updating to the latest version (>= v0.0.9).


Automatic compilation, execution, and I/O testing of online judge source code.

For now, only boj is supported.

This program is a beta version, and errors may occur :(

If you find a bug, please leave an issue! :)

Install

npm install -g auto-judge

Usage

auto-judge [platform] [id] [sourceFile]

Example

auto-judge boj 1000 main.cpp

image

If you want to run only one test case, enter the number of the case you want to test after the -t option.

auto-judge boj 1000 main.cpp -t 1