# Weighted Voting of Three Models: Official Solution

*English translation by SOTA – AI Community of the Russian original. Organisers who would like this translation removed can email sota.ai.community@gmail.com.*

*Task 8 of the school stage (Moscow) of the All-Russian School Olympiad (VsOSh) 2025/26 in artificial intelligence, grades 9–11: official answer and solution (the statement is in a separate file). Original: [sol-ai-9-11-sch-msk-25-26.pdf](https://vos.olimpiada.ru/upload/files/Arhive_tasks/2025-26/school/ai/sol-ai-9-11-sch-msk-25-26.pdf).*

**Answer:** 69

**Scoring criterion:** exact match of the answer — 12 points

**Maximum score for the task — 12**

**Solution.**

**Step 1. Weighted sum.** In cell E2:

```text
=2*B2+1*C2+3*D2
```

Fill down to E101.

**Step 2. Final prediction.** In cell F2:

```text
=IF(E2>=3;1;0)
```

Fill down to F101.

**Step 3. Match with the correct answer.** In cell G2:

```text
=IF(F2=A2;1;0)
```

Fill down to G101.

**Step 4. Counting the matches.** In any free cell (for example, H2):

```text
=SUM(G2:G101)
```

This number shows in how many rows the final answer $\hat{y}$ matched the correct class $y$.

*Translator's note: the original writes these spreadsheet formulas with the Russian-language names of the IF and SUM functions. The semicolons are argument separators, as in the original; spreadsheets set to English use commas instead, e.g. `=IF(E2>=3,1,0)`.*
