PC² Validator
From PC2wiki
The PC² Validator reads the run output and the judge's answer file and produces an XML file that conforms to the International Collegiate Programming Contest Validator Interface Standard
[edit]
Adding/Configuring a Validator to a Problem
Using the Validator tab on the Edit Problem a user can add the PC² Validator
[edit]
Usage
Usage: java Validator <inputfile name> <outputfile name> <answerfile name> <resultfile name> <-pc2> [options] icflag WHERE OPTIONS INCLUDE: <difftype> or <XML FILE for diff configration> icflag - ignore case flag during diff/compare (true or false) diff types are: 1 - diff 2 - ignore whitespace at start of file 3 - ignore leading whitespace on lines 4 - ignore all whitespace on lines 5 - ignore empty lines 6 2 & 3 7 2 & 4 8 2 & 5 9 3 & 5 10 4 & 5 If a input, output or answer file is not needed/used use - for the name, example: java Validator - sumit.dat sumit.ans result.xml -pc2 1 true Version 9.0.1 20080319 (Wednesday, March 19th 2008 06:56 UTC)
[edit]
