Can anyone help me find whats wrong with my solution to Codeforces Round 671 Problem D2
Difference between en1 and en2, changed 57 character(s)
[submission:93304271]↵
https://codeforces.com/contest/1419/submission/93304271↵
Fails on 11th test case even though number of picked is still the same. What I am doing wrong?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English arpan.parikh 2020-09-20 09:16:54 57
en1 English arpan.parikh 2020-09-20 09:16:33 261 Initial revision (published)