Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

A question??

Revision ru2, by PrimeChalishkanchik, 2024-01-30 20:08:56

Good afternoon guys, I recently started working with the structure "Ordered Set" and "Ordered Muilti-set", and I noticed that in the second it is not possible to delete elements.

How it looks in my code:

#include <ext/pb_ds/assoc_container.hpp>

#include <ext/pb_ds/tree_policy.hpp>

using namespace __gnu_pbds;

#define order_set tree<int, null_type,less, rb_tree_tag,tree_order_statistics_node_update>

So if you know what the problem is, could you help?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English PrimeChalishkanchik 2024-01-30 20:10:02 503 Initial revision for English translation
ru2 Russian PrimeChalishkanchik 2024-01-30 20:08:56 4 Мелкая правка: 'Set" and "Unordered Mui' -> 'Set" and "Ordered Mui'
ru1 Russian PrimeChalishkanchik 2024-01-30 20:06:34 505 Первая редакция (опубликовано)