
Hello.
On Aug/19/2018 16:35 (Moscow time), Codeforces Round #505 takes place. This is a paired round to #504.
Some problems are taken from VK Cup 2018 Finals (ashmelev, Errichto, Lewin) and some are proposed by me. I'd like to thank my fellows — Dima (cdkrot) who is actually coordinating this round, Kolya (KAN) who brought me here, and also Grisha (vintage_Vlad_Makeev) and Ildar (300iq) just for being nice.
I'd also like to express my gratitude to MikeMirzayanov for multiple bug fixes and awesome Codeforces!
There will be seven problems will the following scoring:
500 — 1000 — 1500 — 1750 — 2250 — 2750 — 3500
UPD. The system testing is over. Editorial (with problem E now)
Congratz to the winners!
- Swistakk (after all these years, yay)
- DearMargaret
- Kostroma
- Benq
- AwD
- xumingkuan
- webmaster
- TLE
- Egor
- kriii
As in the previous round, thanks to VK social network, GP30 scores will be distributed among the best participants.

Participants are sorted by sum of points for both rounds (if the participant did not participate in one of the rounds, the points scored for it are assumed to be equal to zero), with the maximum time for both rounds from the beginning of the round to the last submission that passed the pretests as tie-break.
Let me remind you that top 10 participants with respect to GP30 score will receive a plush Persik.

Hope you enjoy. Good luck and have fun!







. Two words are
and
are really different and words
and
are not, because in both of them the third character is
. As there can be many such pairs (up to
), if there are more than 


