Discord

Checklist VsOSh AI 2026 Regional Stage, Tour 1 (mathematics) · B task

Matrices and Forgotten Activations

Russian title: Матрицы и забытые активации

Use the linearity of a network without biases or activations, followed by output clipping, to predict a new output.

  • Linear algebra (linear networks)
  • Russian original · English translation

The task

A network maps a point (x₁, x₂) to an RGB colour through layers of sizes 2 → 256 → 128 → 64 → 3, but it has no biases and no non-linearities, so it only multiplies by weight matrices; the result T(x₁, x₂) is then clipped coordinate-wise to [0, 255], giving f(x₁, x₂).

It is known that f(−2, 3) = (60, 40, 100) and f(1, 3) = (200, 50, 80). Find f(−7, 6).

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. Only the words changed in the notebooks: markdown, code comments, messages and printed output. The code, file names and paths are the original's, so a translated notebook runs with the original data.

Read the task statement in English 407 words

Matrices and Forgotten Activations

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

All-Russian School Olympiad in Informatics 2025–2026, Regional Stage, Grades 9–11
“Artificial Intelligence” profile, Tour 1, 17 January 2026
Task B

Points for the task: 50
Answer submission format: entering the answer
Number of attempts: 10
Submission that counts: the last one

Statement

Vasya is learning to draw pictures with a neural network: he wants to map each point of the plane to a pixel colour in three channels (R, G, B).

The network receives as input the vector

x=(x1x2),x = \begin{pmatrix} x_1 \\ x_2 \end{pmatrix},

and then performs the same operation several times in a row: it multiplies the current column vector by a weight matrix and obtains a new column vector. The sizes of the vectors obtained one after another inside the network are:

2256128643,2 \to 256 \to 128 \to 64 \to 3,

where 22 is the size of the input vector and 33 is the size of the output vector.

Through carelessness, Vasya forgot to add everything “interesting” to the network: both the addition of constants and the non-linear functions. Therefore, all the work of the network up to the last step consists only of successive multiplications by matrices. Denote by

T(x1,x2)T(x_1, x_2)

the three-dimensional vector obtained at the very last layer before the final processing.

Vasya obtains the actual pixel colour after clipping the result coordinate-wise to the range from 00 to 255255:

clip(y)i={0,yi<0,yi,0yi255,255,yi>255,\operatorname{clip}(y)_i = \begin{cases} 0, & y_i < 0,\\ y_i, & 0 \le y_i \le 255,\\ 255, & y_i > 255, \end{cases}

and, finally,

f(x1,x2)=clip(T(x1,x2)).f(x_1, x_2) = \operatorname{clip}(T(x_1, x_2)).

In an experiment with the network weights already trained, it turned out that

f(2,3)=(6040100),f(1,3)=(2005080).f(-2, 3) = \begin{pmatrix} 60 \\ 40 \\ 100 \end{pmatrix}, \qquad f(1, 3) = \begin{pmatrix} 200 \\ 50 \\ 80 \end{pmatrix}.

Find the vector f(7,6)f(-7, 6).

Output format

As your answer, output three numbers separated by spaces. If a number turns out to be non-integer, output it with a precision of 6 decimal places. If there is no answer, or if several answers are possible, output -1.

Scoring

An exact match of the answer: 50 points.

Test results are not available during the tour.

Translated by SOTA. The Russian original is the official version and wins wherever the two differ. The statement is translated from the tour's PDF paper; the official editorial is a single notebook covering all tasks of the tour. 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
Statement only.
You submit
Three numbers separated by spaces (non-integers to 6 decimal places), or −1 if there is no answer or several answers are possible.
Scoring
Answer entry; 50 points for an exact match; 10 attempts, the last one counts; results hidden during the tour.
Rules
  • Python may be used, or the problem may be solved purely mathematically.
Format
Regional stage, Tour 1, 17 January 2026; grades 9–11; individual; 300-minute tour (Moscow procedure); answers entered in Yandex Contest.

Details

Year
2026, Regional venues across Russia (in person)
Round
Regional Stage, Tour 1 (mathematics) · B task
Language
Russian; English translation by SOTA
License
Not stated by the source