Изменения рейтингов за последние раунды временно удалены. Скоро они будут возвращены. ×

A question??

Правка en1, от PrimeChalishkanchik, 2024-01-30 20:10:02

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?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский PrimeChalishkanchik 2024-01-30 20:10:02 503 Initial revision for English translation
ru2 Русский PrimeChalishkanchik 2024-01-30 20:08:56 4 Мелкая правка: 'Set" and "Unordered Mui' -> 'Set" and "Ordered Mui'
ru1 Русский PrimeChalishkanchik 2024-01-30 20:06:34 505 Первая редакция (опубликовано)