前言 之前的有在其他被廢所以現在我險一個新的,參考IO wiki //from:https://oi-wiki.org/ds/seg/ #include <bits/stdc++.h> using namespace std; template <typename T> class SegTree{ vector<T>tree,lazy;
Jun 25, 2023Contributed by