Comments
On nifesheCodeforces Round 997 (Div. 2), 16 months ago
+4

I think graph was introduced in problem B just to scare the participants.

On pwnedCodeforces Round 987 (Div. 2), 18 months ago
0

Your physique tells everything about you. Respect ++ Although I have seen one your solution in Edu section .. maybe in Binary Search course if I am not wrong.

+17

Exactly, I think that most of the people whose first solution got WA have submitted that for odd N, answer is -1 and after getting it wrong started to think about odd N.

On pwnedCodeforces Round 987 (Div. 2), 18 months ago
0

what was the distribution technique for question 3rd... I thought of pairing in 2 because their difference will be 1 which is a perfect square but for odd N, i paired index 1 10 and 26 as their difference is also perfect sqaure.

Anyone ? whose solution got AC ? Thanks !!

On FBICodeforces Round 981 (Div. 3), 19 months ago
0

What's the order of swapping in 3rd question or simply what was the logic behind this question, I tried a lot but didn't got the answer.

I was able to figure out that number of ON bulbs after n operations is related to sqrt(n) but was going in opposite track. Here only perfect squares are off and other are ON.

Now after seeing the solution of B problem.... I just want to cry ):