Doubt regarding Problem B from Amrita ICPC Practice Session #4

Revision en1, by StrawHatPirate, 2021-03-19 15:20:18

Here's the link to the problem
They just provided the code. Could someone explain the solution?

Tags prefix sum, mex, #doubt

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English StrawHatPirate 2021-03-19 15:20:18 261 Initial revision (published)