node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »

timus

Timus helper app

This is a small app to help you complete the challenges at Timus Online Judge.

Installation

npm install -g timus

Usage

timus <cmd>

checkout

timus checkout <id>

Use this command to start working on a problem. It will create a directory and fetch the test cases.

update

timus update <id>

Use this command if you already have created a directory. It will only fetch the test data and store it in the current directory.

build

timus build

Build the current main.c file into an executable.

test

timus test

Build main.c and run it against the fetched sample data.

login

timus login <JudgeID> <Password>

Login to the server and save credentials.

submit

timus submit

Submit main.c to the server and wait for solution verdict.

License

MIT