Programming Environment

Hardware

The contest site is a computer lab equipped with Linux machines. These machines have the following specs:

  • CPU: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
  • RAM: 16 GB
  • Disk: 450GB
  • Monitor: 27” widescreen (running at 1920x1080)

Software

The following software is available on the contest machines:

  • OS: Ubuntu 12.04.3 LTS
  • Desktop environment: Unity
  • Java 1.7.0_25
  • GCC 4.8.1
  • GNU Make 3.81
  • GDB 7.4

The following programming tools are also provided:

  • Editors/IDEs:
    • GNU Emacs 23.3.1
    • vim 7.3
    • Eclipse 3.7.2 (with C/C++ Development Tools)

Compilation of Submissions

Source programs submitted to the Judges will be compiled using the following command line arguments for the respective languages:

C:

gcc-4.8 -g -O2 -std=gnu99 -static $* -lm

C++:

g++-4.8 -g -O2 -std=gnu++11 -static $*

Java:

javac -encoding UTF-8 -sourcepath . -d . $*

For C/C++, the resulting executable will be executed to generate the output of the submission. For Java, the compiled code will be executed using the following command:

java -client -Xss8m -Xmx2048m $*

Reference Material

The following reference material will be available during the contest:

For contest rules, including documentation on the error messages, please see the regional website. A copy of all the regional rules will be provided, on paper and online, during the contest.

Teams may additionally bring any amount of printed reference material, including printouts of source code. Teams may not possess any machine-readable electronic or magnetic media during the contest. Violation of this rule will result in immediate disqualification, regardless of intent or whether the media were actually used.