Школьный этап всероссийской олимпиады, 9-11 классы, Москва (версия CF)
5 problems from Школьный этап всероссийской олимпиады, 9-11 классы, Москва (версия CF) (contest 102811), difficulty -. 5/5 solutions verified against sample I/O.
Школьный этап всероссийской олимпиады, 9-11 классы, Москва (версия CF)
Special | 5 problems | 5/5 verified | Difficulty - | 3m 50s
CF 102811B - Наборы пирожных
The warehouse contains two kinds of pastries: croissants and eclairs. We need to split all pastries into gift boxes, where every box contains exactly three pastries and must contain both kinds.
CF 102811C - Мирные ладьи
The board contains exactly one rook in every row and every column, so the position of all rooks can be represented as a permutation. The input array a uses the row number as the index: a[i] tells us which column contains the rook in row i.
CF 102811E - Agar.io
I prepared the editorial in the requested format. You can adjust the level of detail or wording if you want it closer to a personal Codeforces blog style. Edit We have a line of bacteria with given initial sizes.
CF 102811D - Таблица
We have an infinite grid whose rows and columns start from 1. The cells are filled with consecutive integers by walking around the borders of larger and larger squares. The task is to find the coordinates of the cell containing a given number n.
CF 102811A - Автобусные остановки
The street has bus stops placed at regular intervals. If the first stop is at position 0, then every following stop is exactly K meters farther, so their positions are multiples of K.