Hi everyone,
I would like to invite you to participate in HackerEarth's July Easy'19. The contest will start at 04:00 UTC, July 07, 2019
The problems are prepared by me, FastestFinger, Danylo99 and MazzForces and tested by Arpa. I hope you'll find the problemset to be interesting.
You will be given 6 algorithmic problems to solve in 3 hours. Partial scoring will be used (you get points for passing each test case). Although the contest is targeted towards beginners, we hope even experienced problem-solvers find one or two problems to be interesting. The contest is rated and prizes will be awarded to the top 3 beginners (i.e. programmers with a rating of 1600 or less before the challenge starts) — $75, $50 and $25 Amazon gift cards respectively. In addition, there are T-shirts for the top 10.
Good luck & high ratings!
Upd: Contest starts in 30 minutes!
Upd2: Contest has ended.
Winners:
Congratulations to winners.
Thanks for the contest. Please explain a bit on how to solve INVERSION EXPECTATION , editorial is not much clear. How can we calculate inversion expectation after deletions in such a long array.