- Only teams accepted by the CTU Open Director can take part in the contest.
- All teams who want to participate have to check-in at the registration desk on Friday or on Saturday.
Conduct of the contest
- The language of the contest is Czech. All written contest materials and all communications with contest officials will be in English.
- Contestants may bring resource materials such as books, manuals, notes and program listings. Contestants may not bring any machine-readable versions of software or data. Contestants may neither bring their own computers, computer terminals and calculators nor any kind of communication devices such as radio sets, cellular phones, pagers and PDAs.
- Solutions to problems (source programs) submitted for judging are called runs. Each run is judged as accepted or rejected and the team is notified of the result.
- Rejected runs will be marked as either "compile time error" or "run-time error" or "time-limit exceeded" or "wrong answer" or "presentation-error" or "too late" or "contest rule violation."
- A contestant may submit a claim of ambiguity or error in a problem statement by submitting a clarification request to a judge. If the judges agree that an ambiguity or error exists, a clarification will be issued to all contestants.
- Contestants are not to converse with anyone except members of their own team and personnel designated by the CTU Open Director. System support staff may advise contestants on system-related problems such as explaining system error messages.
- The contest will be held in a networked environment. The network may only be used to submit solutions, to ask questions and to produce listings in ways designated by the organizers. Any other use of the network is strictly forbidden and results in immediate disqualification and removing from the contest area.
- While the contest is scheduled for five hours, the CTU Open Director has the authority to alter the length of the contest in the event of unforeseen difficulties. Should the contest duration be altered, every attempt will be made to notify contestants in a timely and uniform manner.
- A team may be disqualified by the CTU Open Director for any activity that jeopardizes the contest such as dislodging extension cords, unauthorized modification of contest materials (soft- or hardware), forbidden network activities, or distracting behavior.
- The CTU Open Director is solely responsible for ruling on unforeseen situations and interpreting these rules.
- A problem is solved when it is accepted by the judges. The judges are solely responsible for accepting or rejecting submitted runs. In consultation with the judges, the CTU Open Director determines the winners of the CTU Open contest. The CTU Open Director and judges are empowered to adjust for or adjudicate unforeseen events and conditions. Their decisions are final.
- Teams are ranked according to the most problems solved. Teams who solve the same number of problems are ranked by least total time. The total time is the sum of the time consumed for each problem solved. The time consumed for a solved problem is the time elapsed from the beginning of the contest to the submittal of the accepted run plus 20 penalty minutes for every rejected run for that problem regardless of submittal time. There is no time consumed for a problem that is not solved. In case of a tie, teams are ranked by the number of minutes elapsed from the beginning of the contest until the first correct solution was submitted. If the last rule does not break the tie the CTU Open Director is responsible to find a fair solution.
- Users' environment will consist of a Linux workstation running Debian operating system, and X Window System graphical software, with GNOME desktop environment. Standard X Window System utilities, such as xterm or xcalc will be provided.
- The programming languages of the contest are Java, C and C++.
- The name of the submitted program must have one of the following extensions:
- Java programs .java
- C programs .c
- C++ programs .cpp
javac -d . -deprecation <filename>
gcc -pipe -static -Wall <filename> -o <exec-name> -lm -O2
gcc -pipe -static -Wall <filename> -o <exec-name> -lm -lstdc++ -O2
- Access to the following compilers (or higher) will be available:
- OpenJDK Development Kit 6 (6b18-1.8.13-0) for Java programs
- GCC v. 4.4.5 for C and C++ programs.
- The ANSI C standard library and the standard template library will be available.
- For each compiler on-line manual will be installed.
- Executable code cannot have more than 5 MB.
- Size of the source code cannot exceed 256 KB.
- Each program has 1024 MB RAM at its disposal.
- Each program has to terminate with an exit code 0 (return 0).
- For each submitted program it is not allowed to use any of the following constructs:
- Usage or creation of any file other than stdin and stdout,
- usage of more than one thread or process,
- usage of any network facilities,
- usage of any library call not related to the problem solution.
- Access to a number of editors and other tools is provided.
- In X11: gvim, gedit, kate, nedit, scite, xemacs;
- in text mode: emacs, joe, mcedit, vim, xwpe.
- Debuggers, apart from those in some of the aforementioned editors, are ddd, gdb and jdb.
- Libmudflap for C-code instrumentation and Valgrind for dynamic analysis are provided.
- IDEs available are: xwpe, Anjuta, Geany and (on your own risk) Netbeans-IDE.
- Submission of solutions will be done through a WWW browser. Mozilla compatible browser will be provided for that task.
Scoring of the contest
The versions of operating system or compilers provided during the contest may differ from these given below.
- Each team will be allowed to use one IBM PC compatible computer. The guaranteed configuration
of the computer includes
a PC-AT compatible keyboard,
a mouse and
a color monitor.