Why am I getting wrong answer with PBDS ??

Правка en1, от DPUYDV, 2023-07-23 11:54:09

I was solving problem Buying gifts. I am getting wrong answer if I use ordered_set(pbds) submission link. If I use multiset instead of ordered_set than solution gets accepted submission link. Can somebody explain why and what am I doing wrong???

Note : Sorry for my bad English.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский DPUYDV 2023-07-23 12:01:27 15
en1 Английский DPUYDV 2023-07-23 11:54:09 492 Initial revision (published)