PC²

PC² is the Programming Contest Control System developed at California State University, Sacramento in support of Computer Programming Contest activities of the ACM, and in particular the ACM International Collegiate Programming Contest. It was used to conduct the ACM ICPC World Finals in 1990 and from 1994 through 2009. In 2010, the ACM ICPC World Finals switched to using Kattis, the KTH automated teaching tool; however, PC2 continues to be used for a large number of ICPC Regional Contests around the world.

Computer programming contests and PC²

Computer programming contest have rules and methods for judging submissions. The following describes in a general way a contest where PC2 is used.

A computer programming contest is a competition where teams submit (computer program) solutions to judges. The teams are given a set of problems to solve in a limited amount of time (for example 8-13 problems in 5 hours). The judges then give pass/fail judgements to the submitted solutions. Team rankings are computed based on the solutions, when the solutions were submitted and how many attempts were made to solve the problem. The judges test in a Black box testing where the teams do not have access to the judges' test data.

PC2 manages single or multi-site programming contests. It provides a team a way to log in, test solutions, submit solutions and view judgements from judges. PC2 provides judges a way to request team solutions (from a PC2 server) run/execute the solution and enter a judgment. The PC2 scoreboard module computes and creates standings and statistics web pages (HTML/XML)

Usage and User Experiences

PC2 was used for the ACM International Collegiate Programming Contest World Finals from 1994–2009. It has also been used in hundreds of ICPC Regional Contests around the world. It has been used continuously by the ACM Pacific Northwest Regional Contest since 1989, as well as by many other ICPC Regional Contests including the Arab and North Africa Region, numerous Regional Contests in Asia, and several Regional Contests in the U.S. It remains today the single most widely used Contest Control System for ICPC Regional Contests.[1]

PC2 has been in use by the ACM Mid-Atlantic Programming Contest for several years. In earlier years, systems administrators had limited success with the program due to its distributed nature. Each of the contest sites ran a PC2 server which needed to initiate and accept Java RMI. Using a central datacenter in the fall of 2005 revealed no problems. In 2014, PC2 crashed 3:45h into the contest, preventing teams from obtaining receipts for their submissions. Judges were unable to retrieve submissions - the contest ended without announcing a winner. It took one week to try to recover those submissions. A similar failure occurred in 2016. System administrators had decided to deploy a web add-on to PC2 which then failed under load. The contest start time was delayed by 90 minutes. Teams were unable to submit problems and the contest director scrambled to find a work-around that let teams save problems with a time stamp to be considered later. In 2013, system operators failed to enter the correct team names, leaving teams without information about the standings in the contest (the scoreboard). System operators were unable to correct the team names during the contest. Because of these incidents, organizers of the region are now considering moving to an alternative system, such as Kattis, which is the official system used by ACM for the ICPC World Finals.

With the introduction of version 9 (socket-based version) delays, most firewall issues with version 8 have been addressed.

A brief revision history

VersionYearMain FeaturesImplementation Language
1.01989Initial Release MS-DOS, floppy disk communicationTurbo Pascal
2.01990Multi-site via KermitTurbo Pascal
4.2B1994LAN supportTurbo Pascal
6.11996Windows versionVisual Basic
7.01998Windows, FreeBSD, or Linux; Java RMI communicationIBM VisualAge for Java
8.02004Complete code rewriteEclipse Java
9.02008Single Site Admin, Improved security and configuration control, socket-based communicationJava
9.12009Automated Judging, Run/Clar Filtering, External API, ICPC Data Importing, Native LAFJava
9.22012Non-GUI Server, Security Improvements, Admin control of Servers, New configuration options, Report GenerationJava
9.32015Contest configuration via YAML, CLICS Event Feed generator, Contest Profile switching, Web Interface, support for Multiple Test Cases and Large Data Files, Non-GUI Judge, Command-line Run Submission, Embedded webserver providing support for CLICS JSON scoreboards, new Configuration OptionsJava
9.42016Improved contest configuration importing; support for automatic contest starting; expanded REST Web ServicesJava
9.52017Support for CLICS Input and Output Validators; Additional REST Web Services; Enhanced API functionality; Non-GUI ScoreboardsJava

[2]

gollark: (on 6000 384-entry vectors, so actually this isn't very impressive)
gollark: I have a very fast but somewhat RAM-hungry implementation, and one which uses SQLite and makes it a (very badly optimized) user-defined function, and somehow the SQLite one takes less than a second to do anything.
gollark: I'm continuing with Project HOLISTIC OVERHANGS, which is the minoteaur semantic search functionality, and I'm basically just ranking a moderately sized set of vectors by cosine similarity to a query.
gollark: This is Python.
gollark: Huh, my wildly inefficient code is *surprisingly* fast.

See also

  • ACM International Collegiate Programming Contest
  • Online Judge

References

  1. Survey of ICPC Regional Contest Directors, ICPC RCD Symposium, ICPC World Finals, May 2017, Rapid City, South Dakota, USA
  2. Release History

Other uses

  • PC² is the abbreviation of the Paderborn Center for Parallel Computing, an institute of the Paderborn University, Germany (http://www.upb.de/pc2)
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.