Please, try EDU on Codeforces! New educational section with videos, subtitles, texts, and problems. ×

Coxie's blog

By Coxie, history, 4 weeks ago, In English,

I recently learned about tree<T, null_type, less, rb_tree_tag, tree_order_statistics_node_update> from https://www.geeksforgeeks.org/ordered-set-gnu-c-pbds/

\n but, how can i change this to multi set? just pair<int,int>? it is so uncomfortable, i want something like std::multiset (don't have to use pair<int,int>)

 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it

»
4 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by Coxie (previous revision, new revision, compare).

»
4 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by Coxie (previous revision, new revision, compare).

»
4 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

Use less_equal