Each delegation may register up to 60 students to participate in APIO 2026. All Registered Students must meet eligibility rules for IOI 2026.
Registered students may either be Official Participant or Unofficial Participant. Official Participants must compete onsite at one of the proctored sites of APIO 2026.
Each delegation has only one Official Team, which consists of the top six scorers of the Official Participants of that delegation.
Competition Format
The APIO 2026 competition is a 5-hour window with a strict start time to be chosen by the leader for each student during registration.
The competition window will be held from 8:00 on May 9th to 20:00 on May 10th (UTC+8).
Each delegation hosts one or more proctored sites. Each site must start the competition at the same time. Each official participant must be assigned to one and only one site by the delegation. Unofficial participants may start the competition at a different time. The start and end times must be within the competition window. The start and end of the competition for each site and each unofficial participant will be chosen by the delegation team leader upon registration.
Medal Distribution
The medal awards are uniquely determined by the following rules:
Get a temporary ranking from the top six official participants of each delegation.
From the temporary ranking, obtain the medal cut-offs by the following rules:
(1) The largest score such that at least one-twelfth of all competitors from the temporary ranking is the
gold cut-off.
(2) The largest score such that at least one-fourth of all competitors from the temporary ranking is the
silver cut-off.
(3) The smallest score such that at most one-half of all competitors from the temporary ranking is the
bronze cut-off.
Each delegation’s Official Team member may receive medals according to the cut-offs; other official participants of that delegation with the same score as the Official Team member with the lowest score may also receive medals according to the cut-offs.
Proctoring
Delegation leaders are encouraged to host one or more sites of APIO 2026 with proper proctoring.
To be an official participant and be eligible for medals, onsite participation is required.
If a student is registered as an official participant but participates in APIO 2026 without being proctored, the student becomes an unofficial participant. In particular, the student will not be added to the official ranklist and will not receive medals.
APIO 2026 Competition Rules
Delegation Leaders have the responsibility of ensuring that all members of their delegation fully understand and abide to these rules. Please do not share the tasks after the contest within 2 days since the competition is not held within the same time range.
A. General
APIO 2026 consists of 1 practice problem set and 1 competition day.
Result of the practice problem set does not affect scoring.
There will be 3 (three) tasks on the competition day to be solved in 5 (five) hours.
The supported programming language is C++.
During the competition, each contestant can only see their own scores.
B. Submission
Contestants submit their solutions for tasks by using the grading system. Depending on the task, a submission may consist of a single C++ source file, one or more output files, or both.
Submissions must not perform explicit input and output operations; instead, data must only be exchanged through the interfaces specified in the task statement.
For each programming task, the contestants can download a zip file for a programming task from the grading system.
(1) The zip file contains interface files, a sample grading program, a compile script, and a skeleton
implementation of a required source file.
(2) The skeleton exercises an interface, but it does not solve the task.
(3) The provided sample grader would not be the same as the official grader used by the grading system.
The provided compile script in the task attachment would not run the same compilation command as the one used by the grading system to accommodate various compiler implementations that contestants have.
Each contestant may submit a solution to each task at most once per minute.
Each contestant may submit up to 50 submissions for each task unless otherwise stated in the task statement.
C. Scoring
The final score for each task will be calculated as follows:
For each submission, the score for each test case is calculated according to your program or output, rounded to the nearest 2 decimal places.
For each submission, the score for each subtask is the minimum of the scores for the test cases in the subtask unless otherwise stated in the task statement.
The final score for each subtask is the maximum of the scores for this subtask across all submissions.
The final score for each task is the sum of the scores for its subtasks.
For example, consider a contestant who made two submissions on a task that contains two subtasks. If the first submitted solution got 30 points for the first subtask and 10 points for the second subtask, and the second solution got 0 points for the first subtask and 40 points for the second subtask, then the final score for this task will be 70.
D. Clarification
Contestants can submit a clarification request concerning competition tasks, rules, and/or grading using the grading system during the competition.
Clarification requests must be expressed only in English and will be answered only in English.
Clarification requests concerning competition tasks will be answered with one of the following:
(1) “YES”
(2) “NO”
(3) “ANSWERED IN TASK DESCRIPTION (EXPLICITLY OR IMPLICITLY)” - The task description
contains sufficient information. The contestant should read it again carefully.
(4) “INVALID QUESTION” - The question is most likely not phrased so that a yes/no answer would be
meaningful. The contestant is encouraged to rephrase the question.
(5) “NO COMMENT” - The contestant is asking for information that the Scientific Committee cannot give.
E. Feedback
For every submission, the grading system reports the score for each subtask.
If a subtask is not fully solved, the grading system gives a feedback only for the first test case among the lowest scored test cases in the subtask.
The feedback includes the test case number and one of the following reasons:
(1) "Output is correct"
(2) "Output isn’t correct"
(3) "Execution timed out"
(4) "Execution killed (could be triggered by violating memory limits)"
(5) "Execution failed because the return code was nonzero"
(6) "Protocol violation"
For task with partial scores, the feedback might also include a “Output is partially correct” reason.
Submissions performing any of the following actions may result in an unspecified grading verdict (typically “Protocol violation”)
(1) read from the standard input, write to the standard output, or interact with any other file,
(2) call exit()
However, it should be noted that submissions that exhibit the above behavior may not always result in "Protocol Violation" feedback and the list above is also not exhaustive.
It should be noted that the score reported in the feedback is only provisional. There are two ways how this score may change after it has been reported to the contestant:
(1) Due to a successful appeal after the contest.
(2) In some cases, the contestants’ submissions may be re-evaluated. This re-evaluation may sometimes
lead to a different total score (e.g. if a solution behaves nondeterministically or runs very close to the
time or memory limit). In such cases, the final score for the submission is the score for its latest re-
evaluation. This change in scoring cannot be appealed. Note that the final score for each subtask is
still the maximum score over all submissions.
F. Collaboration and Access
All submissions from each contestant must be written by the contestant.
Each contestant is allowed to extract and to use any code written before the competition, as long as the code is written by the contestant.
Each contestant is prohibited to talk or discuss anything related to the content of the competition with anyone, including other contestants, except to the committee of the competition using the clarification request explained in the earlier section.
The use of AI tools, including code generators and automated problem solvers, is not allowed. Participants must solve all problems independently without AI assistance.
For the sake of respecting the fairness of this contest, each contestant is expected to show good sportsmanship by following the above rules honestly. Any violation of the rules can be subject to disqualification.