Doubt in yesterday's C question
Guys can someone help me out as to why this logic fails
342334437
Codeforces Round 1096 Solution Discussion