mix yuki.testcase.download (YukiHelper v0.2.0) View Source
Downloads a list of the specified problem.
From mix task:
mix yuki.testcase.download NO [--problem-id]From escript:
yuki testcase.download NO [--problem-id]Note: If the specified file already exists, the download will be skipped.
Option
--problem-id: iftrue,NOis the problem ID. Iffalse,NOis the problem number.
Directory Structure
The download directory varies in depending on your config file. There are two main patterns in configuration example.
Example 1: prefix option is p
testcase/
p10/ # `prefix` is `p`
in/ # input files
1.txt
2.txt
out/ # output files
1.txt
2.txtExample 2: bundle option is 100
testcase/
100/
p10/
in/
out/
200/