Hello, Codeforces!
We're going to host a new contest at csacademy.com. Round #47 will take place on Wednesday, 06/September/2017 15:15 (UTC). This contest will be a Div1 + Div2, with 7 tasks of varying difficulty that need to be solved in 2 hours.
This round will be authored by the CS Academy team.
Contest format:
- You will have to solve 7 tasks in 2 hours.
- There will be full feedback throughout the entire contest.
- Tasks will not have partial scoring, so you need to pass all test cases for a solution to count (ACM-ICPC-style).
- Tasks will have dynamic scores. According to the number of users that solve a problem the score will vary between 100 and 1000.
- Besides the score, each user will also get a penalty that is going to be used as a tie breaker.
About the penalty system:
- Computed using the following formula: the minute of the last accepted solution + the penalty for each solved task. The penalty for a solved task is equal to log2 (no_of_submissions) * 5.
- Solutions that don't compile or don't pass the example test cases are ignored.
- Once you solve a task you can still resubmit. All the following solutions will be ignored for both the score and the penalty.
If you find any bugs please email us at contact@csacademy.com
Don't forget to like us on Facebook, VK and follow us on Twitter.
Later Edit:
Congratulations to the winners:
Also, the editorial has been published. Hope you enjoyed the contest!
Now that Codeforces Round #433 is over, we are waiting for you in 20 minutes :D
Any hints for problem E? I know the editorial exists, but I'd prefer a hint over a solution as it's a very interesting problem. :)
I solved it using Ternary Search.
In
Expected Merge
, I wrote this function to see if there's a pattern, and was expecting it to work only for small N, but it was so fast so I submitted it and got AC! :Pp[i] = 0.5i
The worst case I found so far was
N
=99669
, it visits246544793
states.Can anyone find the complexity of this solution in worst case?
Same scenario :P