Hello, Codeforces!
I am very excited to invite you to our contest Codeforces Round 1059 (Div. 3), which starts on Oct/17/2025 17:35 (Moscow time). You will be given $$$2$$$ hours and $$$15$$$ minutes to solve $$$8$$$ problems.
The problems were authored and prepared by wakanda-forever, wuhudsm, tridipta2806 and frostcat.
Note that at least one of the problems will be interactive. So if you are unfamiliar with them, please read the guide for interactive problems before the contest.
The round will be hosted by the rules of educational rounds (extended ICPC). Thus, all solutions will be judged on preliminary tests during the round, and after the round, there will be a 12-hour phase of open hacks. After the open hack phase, all accepted solutions will be rejudged on successful hacks. Also, note that there is no score distribution — rank will be determined by the number of problems solved, followed by penalty; wrong submissions will incur the usual penalty of 10 minutes, following the rules of educational rounds.
Remember that only the trusted participants of the third division will be included in the official standings table. As it is written by the link, this is a compulsory measure for combating unsporting behavior. To qualify as a trusted participant of the third division, you must:
- take part in at least five rated rounds (and solve at least one problem in each of them)
- do not have a point of 1900 or higher in the rating.
Regardless of whether you are a trusted participant of the third division or not, if your rating is less than 1600, then the round will be rated for you.
We would like to thank:
- cry for beautiful coordination.
- shorya1835, Divine_Spark and Krishbansal333 for proposing problems that later weren’t included in the final set.
- Dominater069 for LGM testing.
- __baozii__ for red testing.
- Friedrich, mayank69goel, shorya1835, aastik231205, reirugan, Intellegent, 18o3, Ming_Xu, Proof_by_QED, efishel and Arpa for orange testing.
- Edeeva, Prady, friedel, Forge, macaquedev, pop and omegaphi for purple testing.
- RustyGrill, Eikyu, HackerGupta069, DivinePunishment, Darsh_Jain, expertaq, Kushi, Krishbansal333, kingbass and chromate00 for blue testing.
- Trace_X1729, sanju77 and Maroon5_sugar for cyan testing.
- santaclaus67 for green testing.
- MikeMirzayanov and KAN for the great platforms.
I wish you the best of luck, and I hope you enjoy the problems!








)

