分别对应值 1、2、3,初始化为 1。
#include <iostream>
#include <cstdio>
#define LL(x) ((x)<<1)
#define RR(x) ((x)<<1|1)
#define Max 100005
int n;
struct Seg_Tree
{
}tt[Max<<2];
void build(int left,int right,int idx)
{
}
void update(int left,int right,int col,int idx)
//从left到right更改为col
{
}
int main()
{
}