You can also compress the coordinates and use a normal BIT, which would be much easier.
You can also compress the coordinates and use a normal BIT, which would be much easier.
Have you ever failed to solve a problem or done worse in a contest because of using Java, when you'd have been better off coding in C++?
A couple of hours into the contest, I was much more calm and poised. And for some reason, day 2 of the contest was also much better than day 1.
I had the same exact situation I guess. I think I got really tensed on Day 1 because of which I couldn't solve a really easy problem, but I performed much better on Day 2.