We invite you to participate in Codeforces Round #248, which will take place at 11:00AM MSK on Saturday, May 24th. This round will be held in both divisions. Note that the starting time of this round is quite unusual.
Many thanks to Gerald, who gave us enormous help during the preparations for this round; to colin and MSTyoda, 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.
Hope you enjoy the problems! Good luck and have fun~
UPD: Contest has finished! Editorial for the round can be found here: Editorial
UPD2: System test has finished! Congratulations to the following winners!
Top 5 of Div. 1:
Top 5 of Div. 2:
WJMZBMR is the only contestant to solve problem D! Sadly no one solved problem E during the contest.