[Hello], Codeforces! We're glad to invite you to take part in Codeforces Round 1040 (Div. 1) and Codeforces Round 1040 (Div. 2), which will start on Jul/31/2025 17:35 (Moscow time).
You will be given 6 problems and 3 hours to solve them in both divisions. Some problems will be divided into subtasks.
The problems were authored and prepared by me.
Some problems may be interactive. So please refer to the guide on interactive problems if you are unfamiliar with them.
We would like to thank
- TheScrasse and errorgorn for the coordination;
- Alexdat2000 for Russian translation;
- BurnedChicken, who impressively solved $$$15$$$ problems, for VIP++ testing;
- StarSilk, liympanda, irmuun, irkstepanov, nifeshe, Error_Yuan, Akulyat, sevlll777, FairyWinx, IceKnight1093, Kaey, -firefly-, TopazDragon89, misteg168, DAleksa, n0sk1ll, nicolasalba, AbduSaber, masa.dobric, reirugan, raresh30, chromate00, gleb.astashkin, dimasik06 for testing;
- MikeMirzayanov for creating Codeforces and Polygon.
Good luck and have fun!
Score distribution will be added soon.



