Discord

Checklist VsOSh AI 2026 School Stage (Sirius platform, region group 1), grades 9–11 · Task 3

k Nearest Neighbours on Three Points

Russian title: Задание 3

Find the values of k for which a k-NN classifier with specified tie-breaking labels three held-out points correctly.

  • k-nearest neighbours (by hand)
  • Russian original · English translation

The task

Eighteen integer points on the plane carry classes 0–3 (red, blue, green, yellow) and are shown in a figure. The k-NN rule takes the k nearest points (among equidistant points, the one with the smaller class number is taken first) and predicts the most frequent class; ties are broken by the smaller sum of distances, then by the smaller class number.

The points (8; 2) of class 0, (3; 4) of class 1 and (5; 0) of class 2 are removed and classified using the remaining 15 points. Select the values of k for which all three are classified correctly.

Abridged and translated by SOTA from the official Russian materials. The official statement has the exact rules, and it wins wherever this summary differs.

In English

This task was published in Russian. SOTA translated its 3 files into English on 16 September 2026.

Read the task statement in English 423 words

k Nearest Neighbours on Three Points

English translation by SOTA – AI Community of the Russian original. Organisers who would like this translation removed can email [email protected].

Task 3 of the school stage of the All-Russian School Olympiad (VsOSh) 2025/26 in artificial intelligence (region group I), grades 9–11. The official answer and solution are in a separate file.

There are 18 points with integer coordinates on the plane. Each point has a class number: 0, 1, 2 or 3.

Class 0: red.
Class 1: blue.
Class 2: green.
Class 3: yellow.

Determine for which kk the kk nearest neighbours method correctly guesses the class of the three chosen points. The method works as follows: for a new point, we find the kk points from the list that are nearest to it. If several points are at the same distance, the one with the smaller class number is considered nearer. We count which class number occurs most often among these kk points; that number is the one chosen. If the frequencies are equal, the following rules are applied:

  1. Among these classes, we choose the one whose sum of distances to the new point is smaller.
  2. If there is a tie again, we take the class with the smaller number.

Let us single out three points: (8;2)(8; 2) of class 0, (3;4)(3; 4) of class 1 and (5;0)(5; 0) of class 2. To make the check fair, these three points are removed from the list in advance, and then the class of each of them is determined from the remaining 15 points.

[Figure: see the original statement.]

Translator's transcription of the figure (a scatter plot with xx from 0 to 10 and yy from −2 to 5; the three singled-out points are drawn in a paler shade):

Class Marker in the figure Points
0 red circle (8,3)(8, 3), (9,2)(9, 2); singled out: (8,2)(8, 2)
1 blue square (2,3)(2, 3), (4,3)(4, 3), (5,3)(5, 3); singled out: (3,4)(3, 4)
2 green triangle (6,0)(6, 0), (7,0)(7, 0), (7,1)(7, -1), (8,1)(8, -1); singled out: (5,0)(5, 0)
3 orange diamond (1,2)(1, 2), (4,2)(4, 2), (2,1)(2, 1), (4,1)(4, 1), (6,1)(6, 1), (2,0)(2, 0)

Choose the number of neighbours for which the method correctly determines the class of all three singled-out points simultaneously:

[The answer options are not listed in the original file.]

Scoring criterion: (Number of correct choices − Number of incorrect choices) × 4, minimum 0 points

Maximum score for the task — 12

Translated by SOTA. The Russian original is the official version and wins wherever the two differ. Statement and official solution come from one PDF, the analysis of the school-stage tasks for region group I, grades 9–11, linked from the olympiad's Sirius page. The scatter plot is transcribed as a table of points, and the answer options were not included in the published file. If you organise this olympiad and would like the translation removed, email [email protected] and we will take it down.

At a glance

You get
The 18 points are given in a figure.
You submit
A selection of k values (multiple choice).
Scoring
(correct selections − incorrect selections) × 4 points, minimum 0 (maximum 12).
Format
School stage on the Sirius.Courses platform, region group 1, 23 October 2025; grades 9–11; individual; 150 minutes; maximum 112 points for the paper (tasks 1–6: 12 points each; tasks 7–8: 20 points each).

Details

Year
2026, Schools in the regions of group 1 (Sirius.Courses online platform)
Round
School Stage (Sirius platform, region group 1), grades 9–11 · Task 3
Language
Russian; English translation by SOTA
License
Not stated by the source