confusion about sets and multisets...

Revision en1, by CantLoseNow, 2022-11-01 06:49:15

so i was solving a cses question and i had a confusion...why dont we sort a set or multiset before applying lower bound and upper bound? i saw some solutions and they just simply added the elements and directly applied lower bound and upper bound.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English CantLoseNow 2022-11-01 06:49:15 284 Initial revision (published)