Difference between revisions of "Problem.yaml"

From PC2wiki
Jump to: navigation, search
m (initial article)
 
m (Sample problem.yaml: added link to CCS problem yaml spec)
Line 7: Line 7:
 
folder is the problem.yaml file and the other problem specific
 
folder is the problem.yaml file and the other problem specific
 
files.
 
files.
 +
 +
==problem.yaml specification==
 +
 +
See the [[CCS]] [https://clics.ecs.baylor.edu/index.php/Problem_format| problem format]
 +
for the description of the problem.yaml file.
  
 
==Sample problem.yaml==
 
==Sample problem.yaml==

Revision as of 20:06, 9 August 2012

A problem.yaml defines a single problem.

PC² creates problem.yaml and data files per problem when a contest.yaml file is created.

Each problem is defined in its own directory (folder), in that folder is the problem.yaml file and the other problem specific files.

problem.yaml specification

See the CCS problem format for the description of the problem.yaml file.

Sample problem.yaml

# Problem configuration
source: ICPC Mid-Atlantic Regional Contest
author: John von Judge 
rights_owner: ICPC

name: Sumit Sample Problem

Data File Locations

Judge's data and answer files will be under the data/secret directory, for the problem sumit these files would be stored as follows

 contest.yaml
 sumit/data/secret/sumit.ans
 sumit/data/secret/sumit.dat

The contest.yaml problem entry for sumit is:

problemset:
  - letter: A
    short-name: sumit

See Also