Difference between revisions of "Run.properties"

From PC2wiki
Jump to: navigation, search
(initial article)
 
m (Optional names: put fields and descriptions into a box)
Line 7: Line 7:
 
===Optional names===
 
===Optional names===
  
contesttime= number of milliseconds since contest start when submission sent
+
{| class="wikitable"
 
+
! name !! Description !! Example !! Type
submittedby= either a # meaning a team or a login account (like judge3)
+
|-
 
+
| <code>contesttime</code> ||ms since contest start when submission received|| todo || todo
language= language name, can be the file extension or the full title of the language used
+
|-
 
+
| <code>submittedby</code> ||either a # meaning a team or a login account|| judge3|| string
problem= problem short name as found in the problemset.yaml
+
|-
 
+
| <code>language</code> ||language name, can be the file extension or the full title of the language used|| python || string
solved= boolean (yes/no or true/false)
+
|-
 
+
| <code>problem</code> ||problem short name as found in the problemset.yaml|| sumit|| string/directory
[[TBD]] should we limit the boolean values to yes/no ?
+
|-
 
+
| <code>solved</code> ||did this submission solve the problem?|| yes  || yes|no
sourcecount= number of source files submitted
+
|-
 
+
| <code>sourcecount</code> ||number of source files submitted|| 3 || integer
source1= source file one
+
|-
source2= source file two
+
| <code>source###</code> ||name of the source file ###|| sumit.py || string/filename
sourceN= source file N
+
|}
  
 
===Examples===
 
===Examples===

Revision as of 20:02, 6 November 2014

The run.properties file contains information about a run.

Required names

mainfile= source file name of main (to be executed executed) source file

Optional names

name Description Example Type
contesttime ms since contest start when submission received todo todo
submittedby either a # meaning a team or a login account judge3 string
language language name, can be the file extension or the full title of the language used python string
problem problem short name as found in the problemset.yaml sumit string/directory
solved did this submission solve the problem? yes no
sourcecount number of source files submitted 3 integer
source### name of the source file ### sumit.py string/filename

Examples

mainfile=Main.java
problem=low
language=Java
submittedby=28
contesttime=1897053
source1=Main.java
source2=Utilities.java
sourcecount=2
solved=Yes