International Collegiate Programming Contest Validator Interface Standard

From PC2wiki

Revision as of 05:34, 8 October 2007; view current revision
←Older revision | Newer revision→
Jump to: navigation, search

Contents

Introduction

See International Collegiate Programming Contest Validator Interface Standard for an introduction and description of the standard.

The PC² Validator conforms and support Automated Judging using the International Collegiate Programming Contest Validator Interface Standard.

Example Result File Contents

In this example the string1 is the text of a judgement, string2 is a comment about the judgement. PC² matches the judgement text against the judgment text configured in Edit Judgement.

<?xml version="1.0"?>
<result outcome = "string1"> string2 </result>
<xml version="1.0"?>
<result outcome="accepted"  security="inputKey"> MessageString2 </result>

Result File XML Schema

Draft XML Schema

<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
	elementFormDefault="qualified">
	<element name="result">
		<complexType>
			<attribute name="outcome" type="string"
				use="required" />
			<attribute name="securityKey" />
		</complexType>
	</element>
</schema>

See Also

External Links

International Collegiate Programming Contest Validator Interface Standard

Personal tools