Difference between revisions of "Input validator"

From Problem Archive
Jump to: navigation, search
 
(Moved input validator specification to main document)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
+
#REDIRECT [[Problem Format]]
 
 
An Input format validator is a program that tests the input data for correctness. 
 
 
 
A validator program must be an application (executable or interpreted) capable of being invoked with a command line call. The details of this invocation are described in Section 2 [[#Invocation|Invocation]].
 
 
 
== Invocation ==
 
The CCS will invoke the validator and passing it the input file on stdin.
 
 
 
The usage of the validator is as follows:
 
 
 
  ./validator < inputfile
 
 
 
== Output ==
 
The input format validator may output debug information on stdout and stderr. This information may be displayed to the user upon invocation of the validator.
 
 
 
== Exit codes ==
 
The input format validator must exit with code 42 on successful validation. Any other exit code is an error.
 

Latest revision as of 09:54, 2 August 2013

Redirect to: