Needed a help for a question

Revision en1, by failure_forever, 2023-03-15 16:17:15

Can someone explain how to do this Soldier and cards according to the method given in editorial . I have done this question using deque but I want a approach as followed in editorial.

Any help is much appreciated.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English failure_forever 2023-03-15 16:17:15 335 Initial revision (published)