1. Eligibility

You may participate in the Contest, if you are at least 6 years old. If you are under 18 years of age as of April 30, 2017, you may only take part in the warm-up, qualification and elimination rounds, including the marathon round, but not in the final round and Internship Track nomination.

Employees of Yandex and affiliated companies, people directly involved in organising the Contest, their immediate relatives and family members are not permitted to take part in the Contest.

2. Registration

In order to participate in the Contest, you need to register and provide the requested information. The Organizer reserves the right to disqualify any Contestant for submitting incorrect information during the registration process. The full list of required information is provided in the contest regulations. Registration will be opened at 0:00 on April 1st, 2017 (Moscow time zone, UTC + 3) and will close at the end of the qualification round.

3. Scoring system for each round: TCM/Time

Conducting the Tournament

Submitted solutions are tested during the round. Contestants will submit their solutions, when they are ready, into the contest system with the help of the software provided. Before submitting a solution, the contestant chooses the compiler that will be used by the contest system, which runs on Linux, to compile the solution (if it is applicable depending on the task). Information about the compilers and their settings as well as the configuration of the testing servers can be found in the “Compiler settings” web page of the competition site.

Solutions are tested by running them against a set of test cases that is not available to the contestants and is the same for all contestants. A solution is considered accepted if it produces correct answers to all test cases in the given time and memory limits. Testing is run automatically, so solutions have to follow input and output formats described in the problem statement of each problem precisely. Unless written otherwise, all input data is supposed to be correct and satisfy all constraints mentioned in the problem statement.

The maximum execution time for any test case is specified in each problem statement. If a solution exceeds this limit on at least one of the test cases, this solution is considered incorrect. When a solution is ready, the contestant submits it into the contest system for checking, and may then continue working on other problems.

Before submitting a solution to each problem for the first time, the contestant has to choose whether he or she wants to make the submission “open” or “blind”. This decision cannot be changed later. Results will be shown to the contestant immediately after a submitted solution has been tested.

After making an “open” submission, the contestant is informed whether his or her solution is accepted. If it is not, the contestant is also told the type of error and the index number of the failed test case.

Solutions that are “blind” submissions are tested on the sample test cases only (from the problem statement). If a solution doesn’t pass these test cases correctly, the contestant is told the type of error and the number of failed test case. If it does pass, the problem is considered to be preliminarily solved. Submitting further solutions to this problem becomes impossible. The final result of testing is announced after the end of the contest.

Outcome Test number is provided? For “open” submissions For “blind” submissions Possible reason
OK No The solution is accepted The solution passed all sample test cases The solution works correctly on the corresponding set of test cases
Compilation error No Compilation of the solution failed Compilation of the solution failed 1. Syntax or semantic error in the solution 2. Solution language was chosen incorrectly
Wrong answer Yes Incorrect output on one of the test cases Incorrect output to one of the sample test cases 1. A mistake in the solution 2. Wrong algorithm
Presentation error Yes Output cannot be checked as its format doesn’t satisfy the requirements Output to one of the sample test cases cannot be checked as its format doesn’t satisfy the requirements 1. Incorrect output format 2. No output at all 3. Extra output
Time-limit exceeded Yes The solution exceeded the time limit The solution exceeded the time limit on one of the sample test cases 1. A mistake in the solution 2. The solution isn’t efficient enough
Memory limit exceeded Yes The solution exceeded the memory limit The solution exceeded the memory limit on one of the sample test cases 1. A mistake in the solution (eg.: infinite recursion) 2. The solution isn’t efficient enough
Run-time error Yes The solution stopped working with a non-zero exit code The solution finished working with a non-zero exit code on one of the sample test cases 1. Runtime error 2. The solution doesn’t end with “return 0” in case of C/C++ 3. Non-zero exit code is manually specified

In the case of Compilation error, the solution is not run against any test cases. In the case of Run-time error, Memory limit exceeded, or Time limit exceeded, output of the solution is not taken into account.

Consecutive submissions of the same source code made by the same contestant are ignored. If a submission was considered incorrect because of a compilation error, this submission is not taken into consideration when the total penalty time is calculated. “Blind” submissions that did not pass at least one sample test case are not taken into consideration either.

The sample test cases in the system always match the sample test cases from the problem statement in the same order.

Preliminary and final rankings of round

Contestants are ranked by number of solved problems. Contestants who solve the same number of problems are ranked by total penalty time.

Total penalty time is determined as the sum of time taken and “bonuses for blind submissions” for each accepted problem.

  • The time taken for a solved problem is the time elapsed from the beginning of the contest to the submission of the accepted solution, plus, if the submissions to this problem were “open”, 20 penalty minutes for each previously submitted incorrect solution.
  • If a problem is solved with a “blind” submission, the total penalty time is decreased by n seconds, where n = ((number_of_contestants_who_did_not_solve_this_problem) × (contest_length_in_seconds)) ÷ (total_number_of_contestants).

Total penalty time is calculated up to a second. Problems that have not been solved by the end of the contest do not add anything to the total penalty time (including penalty for incorrect submissions).

In the rankings, problems solved with an “open” submission are denoted by “+” followed by the number of incorrect submissions to this problem (if any). For example, the rankings contain “+” if the problem is solved on the first attempt, and “+2” if it is solved on the third attempt. Unsolved problems that have “open” submissions are denoted by “-” followed by the number of incorrect submissions to this problem. Problems that have a “blind” submission which passed all sample test cases are denoted by a question mark, “?”. The current rankings are displayed under the assumption that all “blind” submissions will be accepted.

After the end of the contest, all “blind” submissions are retested on the full set of test cases, which is the same as the set of test cases that was used for testing “open” submissions (“system test cases”). The results of this testing become the only results for these solutions. In the final rankings, unlike the preliminary rankings, problems that have a “blind” submission which passed all system test cases are denoted by a green tick (✓), and problems which have a “blind” submission which failed on at least one system test case are denoted by a red X (X). Conduction of Marathon Round

The contestant will be presented with a single task which does not suppose a complete solution, but allows multiple approximate approaches. The presented solution will undergo checks using a preliminary set of tests during the round. The contestant will be informed of the score that their solution has achieved upon the results of each preliminary test, as well as of the overall score. The content of the preliminary tests will not be shown to the contestants. During the round the contestants will be ranged according to their overall score achieved upon the results of the preliminary set of tests.

When the round ends, the final solution of each contestant will be tested upon the full set of tests, and the final score of each contestant shall be defined as overall score that their solution has achieved upon the results of all tests of the full set of tests. The contestants shall be ranged according to their final score.

The process of testing a solution is no different from the process described in “Conducting the Tournament” section.

4. Contest structure. Grand Prix 30

The contest consists of six rounds. For all rounds, the problems will be original. The specified start time is in the + 3 (Moscow) time zone. Only those contestants who have correctly solved at least one problem in the warm-up or qualification rounds will be eligible to proceed to the elimination round.

The warm-up round will start at 16:00 on April 22, 2017 and will last for 100 minutes. All contestant will start and finish at the same time. All contestants, who solved at least one problem, will advance to the elimination round.

The qualifying round will start at 0:00 on April 29, 2017, and run for 48 hours. Contestants can start their qualifying round (lasting 100 minutes) by pressing the “start virtual contest” link at any time that is convenient for them within the 48 hours period. All contestants who solved at least one problem will advance to the elimination round.

The elimination stage will consist of four rounds. Each round of the elimination round will be scored separately using the Grand Prix 30 system. The top 30 participants of each round will earn score points based on table below.

Place 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Score 100 75 60 50 45 40 36 32 29 26 24 22 20 18 16
Place 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Score 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1

If several contestants perform equally in a round, the earned points are divided evenly between them.

The elimination round will start on May 6, 2017 at 00:00.

Marathon round will start on May 6, 2017 and last for 48 hours.

Round 1 will start on May 14, 2017, at 10:00 and last for 100 minutes.

Round 2 will start on May 27, 2017, at 23:00 and last for 100 minutes.

Round 3 will start on June 04, 2017, at 15:00 and last for 100 minutes.

The elimination round result includes two values: sum of the scores and the lowest rank for the four rounds.

A Contestant will rank higher in the rankings of the elimination round, if:

  1. They have higher scores:
  2. Their lowest rank for the four rounds of the elimination round is higher (provided that the scores of two contestants are equal).

The top 25 participants of the elimination round will advance to the final round, provided that that have submitted a solution to at least one task.

The organizer reserves the right to invite additional participants to the final round, if there are declined invitations. Additional participants will be invited based on the results of the elimination stage.

The final round will take place at Lva Tolstogo 16, Moscow, Russia, on July 17-18, 2017. Each participant who has advanced to the final round must confirm their participation and submit all the necessary documents before June 18, 2017, or else he or she will be disqualified. The final round will be held in accordance with rules TCM/Time. Duration of the round will be from 120 to 180 minutes and will be announced immediately before the start of the round.

5. Awards

Top 512 participants according to the cumulative result of all four elimination stage rounds will receive a contest T-shirt.

The top three participants in the final round will be awarded the following prizes:

  • 1st place – 300,000 rubles
  • 2nd place – 150,000 rubles
  • 3rd place – 90,000 rubles

Prizes are net of personal income tax, which will be accrued and paid by the Organiser in accordance with the legislation of the Russian Federation.

6. Internship Track nomination

For participation in the Internship Track nomination participant shall tick the appropriate checkbox in the registration form. Participants may change their decision about willingness to participate the Internship Track nomination by changes made in the checkbox. Edits can be made only before the ending of the qualification round.

The Internship Track nomination’s prize is interview with the Organizer representatives with the three-month internship opportunity in the Moscow office of the Organizer (in case of successful outcome of the interview). If Internship Track nomination winner passes the interview successfully and agrees to join the Internship program, Organizer will reimburse the costs of transfer from the place of residence of the winner to Moscow and organize the accommodation in Moscow during the Internship program.