← Tools

cpl judge

run the file's `@interactor` as a judge program on standard input and output, or with an output its `@checker`; exit status 0 accepts

usage: cpl judge <file.cp> <input>
       cpl judge <file.cp> <input> <output> [answer]

With an input alone, runs the file's `@interactor` on it as a judge
program: it talks to a solution on standard input and output. With an
output, runs the file's `@checker` on that output. The exit status is 0
when the judge accepts.

Generated from cpl 0.2.2 (dev, a0d0078e).