#include <leetcode.h>
|
void | assign (unsigned l, unsigned r, type val=false) |
|
bool | check (unsigned l, unsigned r) |
|
auto | split (unsigned pos) |
|
◆ type
◆ assign()
void leetcode::range_module::Chtholly::assign |
( |
unsigned |
l, |
|
|
unsigned |
r, |
|
|
type |
val = false |
|
) |
| |
|
inline |
◆ check()
bool leetcode::range_module::Chtholly::check |
( |
unsigned |
l, |
|
|
unsigned |
r |
|
) |
| |
|
inline |
◆ split()
auto leetcode::range_module::Chtholly::split |
( |
unsigned |
pos | ) |
|
|
inline |
在文件 leetcode.h 第 3334 行定义.
3335 auto it =
s.lower_bound({pos});
3336 if(it !=
s.end() && it->l == pos)
3338 auto [l, r, d]{*--it};
3340 s.emplace(l, pos - 1, d);
3341 return s.emplace(pos, r, d).first;
引用了 s.
被这些函数引用 assign() , 以及 check().
set<Node> leetcode::range_module::Chtholly::s |
该类的文档由以下文件生成: