User Tools

Site Tools


running_pc2

This is an old revision of the document!


Student Notes for Competing Using PC^2

  1. One time only: copy /homes/cs390cp/pc2-9.1.6/pc2v9.ini to your local directory somewhere (e.g., ~/pc2).
  2. Change into the directory where your pc2v9.ini file is located.
  3. Launch pc2: /homes/cs390cp/pc2-9.1.6/bin/pc2team &

Administrator Reminder Notes for Running Programming Competitions with PC^2

  1. Login to cs390cp@pc.cs.purdue.edu
  2. cd pc2-9.1.6 (assumes pc2 install here)
  3. bin/pc2server &
  4. Login as site1/site1; choose contest password
  5. bin/pc2admin &
  6. Login as administrator1/administrator1
  7. Accounts tab, Generate accounts (1 judge, x teams, 1 scoreboard)
  8. Languages tab, Add, Auto Populate with Java and GNU C++, possibly GNU C
  9. Problems tab, Add
    1. Problem name
    2. Problem Requires Input Data, Stdin, Input Data File
    3. Judges have Provided Answer File
    4. Judging Type tab: Computer judging
    5. Validator tab: Use PC^2 validator with option “1 - diff”
  10. Auto judge tab
    1. Select judge1, Edit
    2. Shift-select all problems, Enable Auto Judging, Update
  11. Times tab
    1. Select site1, Edit
    2. Set/update remaining, elapsed, and length times
    3. Start ALL
  12. bin/pc2judge &
    1. Login as judge1/judge1
  13. bin/pc2board &
    1. Login as scoreboard1/scoreboard1
  14. firefox html/summary.html
running_pc2.1307899417.txt.gz · Last modified: 2011/06/12 10:23 by jtkorb