Can anyone tell me why i am getting wrong answer on test 6,i am not being able to wrap my head around what's really happening in test 6 This is the problem:https://codeforces.me/contest/454/problem/B This is my code:https://codeforces.me/contest/454/submission/273727396