Programming Environment

update Nov 22, 2016

Desktop Configuration:

+ CPU Core i3

+ RAM 4 GB

+ HDD 500 GB. 

+ Monitor: LCD 19 inches

Contest Environment


The software configuration for the ACM/ICPC Nha Trang Regional 2016 will consist of the following:

o    OS:

o    Ubuntu 16.04.1 LTS Linux (64-bit)

o    Desktop:

o    GNOME

o    Editors

o    vi/vim

o    gvim

o    emacs

o    gedit

o    geany

o    Languages:

o    Java

o    OpenJDK version 1.8.0_91

o    OpenJDK Runtime Environment (build 1.8.0_91-8u91-b14-3ubuntu1~16.04.1-b14)

o    OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)

o    C

o    gcc (Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0 20160609

o    C++

o    g++ (Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0 20160609

o    Python 2

o    Python 2.7.10 (implemented using PyPy 5.1.2). A list of the installed modules can be found here

o    Python 3

o    CPython 3.5.2.  A list of the installed modules can be found here

o    IDEs:

o    Java - Eclipse 4.6 (Neon)

o    C/C++ - CDT 9.0.1 under Eclipse 4.6 and CodeBlocks

o    Python

o    PyDev 5.1.2 under Eclipse 4.6

o    Pycharm Community Edition 2016.2.3

Compilation of Submissions

During the contest, teams will submit proposed solutions to the contest problems to the Judges using the  contest control system (to be determined). Source files submitted to the Judges will be compiled using the following command line arguments for the respective language:

o    C:

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

o    C++:

g++ -g -O2 -std=gnu++14 -static $*

o    Java:

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

o    Python 2

pypy $* 

o    Python 3

python3 $*

The "$*" in the above commands represents the list of source files from the submission which will actually be compiled. Files with the following suffixes (and only files with these suffixes) will be submitted to the compiler:

For C submissions: files ending with .c
For C++ submissions: files ending with .cc, .cpp, .cxx, .c++, or .C
For Java submissions: files ending with .java

For C/C++, the resulting executable will be executed to generate the output of the submission.  
For Python, the submitted file will be passed to the corresponding Python interpreter (PyPy or CPython)
For Java, the compiled main class will be executed using the following command:

java -XX:UseSerialGC -Xss64m -Xms1024m -Xmx1024m


Team Notebook:

Note: Team Reference Document (
"This document may contain up to 25 pages of reference materials, single-sided, letter or A4 size, with pages numbered in the upper right-hand corner and your university name printed in the upper left-hand corner. Text and illustrations must be readable by a person with correctable eyesight without magnification from a distance of 1/2 meter. It may include hand-written comments and corrections on the fronts of pages only."



A language dictionary (English-Vietnamese, English-Chinese ..) is allowed in the contest area

Long Nguyen,
Nov 24, 2010, 8:07 AM