Help needed in solution

Revision en1, by MK6, 2021-05-30 15:26:14

I am getting WA in the solution of the problem D.Phoenix and Socks .https://codeforces.me/problemset/problem/1515/D. I am unable to find the error in my approach.Any help will be appreciated.Here is the link to my submission. https://codeforces.me/contest/1515/submission/117860685. Thanks in advance

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English MK6 2021-05-30 15:26:14 328 Initial revision (published)