i was trying to solve this problem:- https://codeforces.me/contest/2064/problem/D
My solution :- 307112876
I am getting wrong ans verdict in my solution even tho i think my logic is correct. Can anyone please find and explain what did i do wrong?
plzz help :,(