Happy Children's Day everyone. What should you do to celebrate the special holiday?
Of course, another Codeforces Round is your best choice!
There is a child who is our friend. Now he has faced a lot of algorithm problem, could you please help him?
We invite you to participate in Codeforces Round #250, which will take place at 17:00 MSK on 6.1 — Children's Day. This round will be held in both divisions.
Note that the starting time of this round is quite unusual.Why? Because it's yet another CF Round held by Chinese! We prepared many interesting problems for you.
Are you getting excited? Don't miss this round!
Many thanks to Gerald, who gave us enormous help during the preparations for this round; to ftiasch, Kissshot and 2333333333333, who are the testers of this round; and to MikeMirzayanov, who created such a wonderful platform.
In Div. 1, scores for each problem will be 500-1000-1500-2000-3000.
In Div. 2, scores for each problem will be 500-1500-1500-2000-2500.
Look! Your high rating is waiting for you! What are you waiting for?
Just participate in this contest and write code fast and nicely, and you will take the high rating home!
Good luck and have fun!
UPD: The contest is over! Congratulations to winners!
Top 5 of Div. 1:
Top 5 of Div. 2:
Unfortunately, no one has solved the problem E in both divisions. What a sad story....
Editorial for the round will be added soon.
UPD2: Editorial for the round can be found here: Editorial