Doubt in problem B-Present

Правка en1, от _Erased, 2020-04-25 08:35:29

The tutorial of the problem 1322B - Present says "Bonus:Solve the problem in O(NlogC)." Can someone please explain how to do it?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский _Erased 2020-04-25 08:35:29 154 Initial revision (published)