Пожалуйста, подпишитесь на официальный канал Codeforces в Telegram по ссылке https://t.me/codeforces_official. ×

Why counting with multiset is a bad idea?

Правка en1, от Heartbell, 2019-03-07 22:39:47

Because works in O(n) time.

Quite recently I needed to solve this kind of problem:

Unable to parse markup [type=CF_TEX]

Теги #implementation, #c++, #complexity, #tle, gcc, c++ stl

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en4 Английский Heartbell 2019-03-08 01:14:03 0 (published)
en3 Английский Heartbell 2019-03-08 01:11:43 2106 done
en2 Английский Heartbell 2019-03-08 00:23:53 6464 draft1 finished ver.
en1 Английский Heartbell 2019-03-07 22:39:47 337 Initial revision (saved to drafts)