set_map
set_map is a compatibility alias module.
For new code, prefer sorted_set_map.
Import
import atcoder/extra/structure/set_map
Definition
import atcoder/extra/structure/sorted_set_map
export sorted_set_map
This module imports and exports sorted_set_map.
Therefore, importing set_map also makes SortedSet, SortedMap, initSortedSet, initSortedMap, and related APIs available.
Example
import atcoder/extra/structure/set_mapvar s = initSortedSet[int]()s.insert(3)s.insert(1)doAssert 1 in sdoAssert 2 notin s
Notes
This module remains for compatibility with older code.
For new code, use:
import atcoder/extra/structure/sorted_set_map