cpl submit
build for the file's judge, run its cases on that build, and say whether it is ready to send
usage: cpl submit <file.cp>
Gets the file ready to send to its judge (the `// judge:` line, else the
nearest cp.toml, else `generic`): writes the C++ as `cpl build` does, within
the judge's source limit, then runs every case in <file>.tests/ on that C++
built with the judge's flags on its stack, as `cpl test` does. Exits 0 when
the file is ready: it built and no case failed.
options:
--copy when ready, also put the C++ on the clipboard, as
`cpl build --copy` does
Mid-contest: put `// judge: codeforces` (or another of `cpl judges`) at the
top of the file once, save the samples as <file>.tests/1.in and 1.out, then
`cpl submit a.cp --copy` and paste, or upload a.cpp.Generated from cpl 0.2.2 (dev, a0d0078e).