Why counting with multiset is a bad idea?

Revision en1, by 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]

Tags #implementation, #c++, #complexity, #tle, gcc, c++ stl

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English Heartbell 2019-03-08 01:14:03 0 (published)
en3 English Heartbell 2019-03-08 01:11:43 2106 done
en2 English Heartbell 2019-03-08 00:23:53 6464 draft1 finished ver.
en1 English Heartbell 2019-03-07 22:39:47 337 Initial revision (saved to drafts)