Need help with 1593B
Not sure what I am missing in logic. Help !
Link to my solution: https://codeforces.com/contest/1593/submission/134690219
Interview with orz | IMO Gold Medalist, ICPC World Finalist, IGM in CF