1116.md (308B)
1 Source: https://codeforces.com/blog/entry/65702 2 3 [Here](https://assets.codeforces.com/rounds/1116/contest-editorial.pdf) is the editorial for the round. The comments for this post also have lots of great explanations of alternative solutions, make sure to check them out! 4 5 I hope you've enjoyed the contest!