From PC2wiki
Revision as of 16:34, 3 December 2016 by Clevengr (talk | contribs) (Reworded header section for clarity.)
Jump to: navigation, search

A "results.tsv" file is a tab-separated-values (TSV) file that contains contest results in the CLICS CCS format. This file is formatted such that it can be directly input to the ICPC CMS.

File Format

Per the CLICS CCS spec.

A text file consisting of a version line and one line for each team in the contest, sorted in rank order with alphabetical order on team name as tie breaker. Each line has tab separated fields as defined below.

The first line has the following format

Field Description Example Type
1 Label results must be the string constant "results"
2 Version number 1 integer

Then follow several lines with the following format (one per team).

Field Description Example Type
1 External ID 24314 integer
2 Rank in contest 1 integer
3 Award Gold Medal string
4 Number of problems the team has solved 4 integer
5 Total Time 534 integer
6 Time of the last submission 233 integer
7 Group Winner North American string

Generating Results.tsv

Using the PC2 Admin

The results.tsv file can be viewed on the Admin using the Export Tab (Admin | Run Contest | Export ) and then saved by clicking the Save Results button.

Starting with PC2 Version 9.4, the results.tsv file is automatically generated when a contest is finalized (see Finalize Tab). The generated file is saved in a folder named "results", in the file "results.tsv". On the Finalize Tab there is a View button to view the contents of the file.

Using the PC2 Scoreboard

The results.tsv file is automatically generated on the Scoreboard machine once the contest is finalized. As on the Admin, the file is saved in a folder named "results".

See Also