Anyone can try their hand in Russian Code Cup online qualification rounds. There are two requirements to the finals participants:
- The contestant must be 18 years old at the beginning of the finals
- The contestants cannot be employees or close relatives of Mail.Ru Group employees.
How to register?
The registration is simple! Having registered, go to your personal account and confirm your participation in the current season championship.
Three qualification rounds are held successively on RCC web-site. Top 200 contestants of every round move on to the next one. It is important that only the ones who solved at least one task can go to the next round: there might be fewer than 200 participants. The ones that didn't succeed at first try, can participate in the second and third qualification rounds.
At the end, there are no more than 600 winners of the qualification rounds. They participate in the elimination round that is also held on the RCC web-site. Top 50 go to the finals. Once again: at least one task must be solved. If fewer than 50 contestants manage to do so, there will be less finalists.
The finals are held on RCC web-site in Fall.
The rounds rules
Qualification, elimination and final rounds are happening in the same manner:
- The contestants receive 4 to 8 tasks.
- The tasks become available on RCC web-site at the beginning of the round.
- The task solution would be a program written in one of the accepted programming languages: Java, Python, C/C++/C++11, C#, Perl, PHP, Ruby, D.
Different tasks can be solved in different languages.
- The checking system uses the following compilers: Java 8.0, Python 3.5, Microsoft Visual C# 2013 Express Edition, Microsoft Visual C/C++ 2013 Express Edition, GNU C/C++/C++11 5.1, Perl 5.22, PHP 5.6.13, Ruby 2.2.3, D 2.071.
The versions might be updated.
- The solution program must not contain auxiliary modules or files.
- Different tasks can be solved in different programming languages.
- For every task, the data should be read off from the standard input stream and written to the standard output stream.
- Work with files and network is forbidden.
- For every task, there is indication of maximum time allotted for the program execution for one test and the maximum amount of memory allowed to use.
- All solutions are checked by RCC server automatically.
- The results can be found on RCC web-site. The checking is done during the competition.
- When done, the contestants submit their tasks solutions through RCC web-site and keep working on the other tasks. Upon receiving the solution, the automatic checking system responses within 1-5 minutes. The contestant can see the results in his personal profile on RCC web-site.
- The RCC checking system monitors the time spent on every task and adds 20 minute of penalty time for every incorrect solution submitted for checking.
The RCC checking system uses the command line compilers shown below. In case of compilation error, the contestant is notified about the compilator's output.
Compiler Compilation line Startup line
java –Xmx256M –Xss64M <file>
Microsoft Visual C#
csc /o+ <file>
Microsoft Visual C++
cl /O2 /TP /EHsc <file>
Microsoft Visual C
cl /O2 /TC <file>
g++ -x c++ -O2 -Wl,--stack=67108864 <file>
g++ -x c++ -std=c++0x -O2 -Wl,--stack=67108864 <file>
g++ -x c -O2 -Wl, --stack=67108864 <file>
dmd -L/STACK:67108864 -O -release -inline -noboundscheck <file>
- The file size with a source code cannot exceed 256 Kb. Compilation must be done within 30 seconds; during the compilation, compilator must not use more than 512 Mb of memory. Total size of all the resulted files must not exceed 4 Mb. If one of these conditions is violated, the contestant receives the "Compilation Error" result with a specific reason indicated.
If compilation has gone flawlessly, the solution is tested on the pre-prepared set of tests that is the same for all the participants. The solution is considered correct if it passes every test. The partially correct solutions that do not pass all the tests are considered incorrect. Upon the checking, the contestant is notified that the task has been accepted («Accepted») or what exactly has been done wrong and in which test.
The list of potential errors:
- «Memory Limit Exceeded» — the program is attempting to use more memory than allotted by the task
- «Time Limit Exceeded» — the program wasn't finished within the time frame indicated in the task. In case that the program is utilizing several processor cores, the total time of completion for all cores is calculated.
- «Idleness Limit Exceeded» — the program isn't using the processor for 10 seconds.
- «Security Violation» — attempt to carry out the forbidden action
- «Runtime Error» — the program was completed with a nonzero response code.
- «Presentation Error» — the presentation format is incorrect; the checking program wasn't able to review the output.
- «Wrong Answer» — the answer is wrong.
- The full test list is kept secret and will be published only after the end of the round.
- During the round, the participants are allowed to use any written materials, personal notes and prepared programs. The participants are not allowed to communicate with each other or anybody else regarding any topics related to the tasks. The participants must complete all the tasks truthfully and the judges have the right to monitor the participants' integrity by various means. If the violation of rules is discovered, the contestant will be disqualified.
- All the programs, submitted by the participants for checking, should attempt to solve the task and not to break the rules or destabilize the performance of the checking system. In case of deliberate attempt to destabilize the performance of the checking system, the participant will be disqualified.
- The RCC participants can ask questions of the round Administrator on-line using the feedback tool that will be available on the RCC web-site 30 minutes prior to the beginning of the round and during the whole round time.
Announcement of the rounds results
The results are reviewed equally by the following rules:
- The results of every round are published within 3 hours after the end of the round.
- All the tasks for RCC participants have the same difficulty level.
The results of every participant are measured by two parameters:
- number of tasks solved;
- number of penalty minutes.
- The more tasks a participant solves, the higher his position is.
- In case the number of the solved tasks is equal, the participant with lesser amount of total penalty time gets the higher position.
- Penalty time is the time spent for tasks solving plus 20 extra minutes for every failed attempt to submit a task. There is no penalty for unsolved tasks.
- All qualified participants will receive the RCC participation certificate.
Top 200 contestants of the elimination round will receive T-shirts.
All finalists receive gifts, and the top 25 — prize money.
1st place150 000 rub.2nd place100 000 rub.3rd place65 000 rub.4-10th place30 000 rub.11-25th place15 000 rub.