Good day, friends)
Welcome to regular Codeforces round #175 for Div.2 participants. Traditionally Div.1 participants can take part out of the competition.
The problems were again prepared by the group of authors: Pavel Kholkin (HolkinPV), Artem Rakhov (RAD), Fefer Ivan (Fefer_Ivan) and Gerald Agapov (Gerald). Traditionally thanks to Michael Mirzayanov (MikeMirzayanov) for Codeforces and Polygon systems and Mary Belova (Delinur) for translating the problems.
Score distribution is published in advance) today it is standard: 500, 1000, 1500, 2000, 2500.
We open the little secret of this competition, in all today's problems you find permutations)
We wish everyone good luck, successful hacks, high rating and good mood)
UPD1: the contest is over, hope you enjoy it)
UPD2: the tutorial is already published here)
UPD3: congratulations to winners: