Moe also offers several utilities for use by the contestants. They are by default
installed to the
public directory, where you also should install a subset
problems hierarchy containing the config files and public test
cases (e.g., the example input/output from the problem description sheet).
compile– compile a solution with the same settings as used by the evaluator.
check– compile a solution and check it on the public test cases.
submit– submit a solution for evaluation, after
check-ing it. Each successfully submitted solution replaces the previous submitted solution for the same task.
Compilation and checking use the same evaluation mechanism as used later for the
real evaluation. However, it runs with the privileges of the contestant and is limited
only to the publicly available test cases. The evaluation log is put to a file called
log in the current directory, all other files are put to a
subdirectory in the contestant's home.
Submit stores all submitted tasks to a
.submit directory in the
contestant's home. It's probably wise to warn the contestants that they shouldn't
delete this directory :-)