Hello Codeforces!
I'd like to invite you to Codeforces Round #287 (Div. 2). It'll be held on Friday, January 23rd at 19:00 MSK. and as usual Div. 1 participants can join out of competition.
This is my first round so wish me luck! :)
Great thanks to Maxim Akhmedov (Zlobober) for helping me preparing the contest, Alex Fetisov (AlexFetisov) for testing and giving useful tips regarding statements, Maria Belova (Delinur) for translating the statements into Russian and Mike Mirzayanov (MikeMirzayanov) for the great Polygon platform.
The scoring distribution will be announced later.
Good luck everyone and I hope you'll find the problems interesting.
UPD #1 Score distribution will be standard 500-1000-1500-2000-2500.
UPD #2 Contest finished, hope you enjoyed the problems. :)
UPD #3 System testing finished.
Winner of the contest is going to be disqualified due to "Do not use harsh, rude or misleading handle." part of Codeforces rules.
So congratulations to the winners:
UPD #4 You can find the editorial here.