Hi guys,
In the Problem B of Round 975 (Div. 2), I was going through an irritating problem in my code, that I did not rectify till now. I thought to solve the problem by solving two quadratic equations as follows:
The first one is to find if any array elements have the same count as $$$k$$$ and the second one to find the elements not in the array but are part of $$$k$$$ intervals. Here is my submission: 283252905
The problem was not though and can be solved in other ways too (as one is in the tutorial), but I am just curious to find my mistake, I will be very glad if someone can help me.