Open xehoth opened 6 years ago
https://blog.xehoth.cc/BZOJ3578/
$n$ 个人来做实验,有 $m$ 个房间,一开始所有人都在 $1$ 号房间里,有两个操作:让第 $i$ 个人去房间 $j$让区间 $[l,r]$ 的房间做实验实验会获得一些实验信息点数,点数为房间里的人数(不会重复增加点数),求每次操作获得的点数。
https://blog.xehoth.cc/BZOJ3578/
$n$ 个人来做实验,有 $m$ 个房间,一开始所有人都在 $1$ 号房间里,有两个操作:让第 $i$ 个人去房间 $j$让区间 $[l,r]$ 的房间做实验实验会获得一些实验信息点数,点数为房间里的人数(不会重复增加点数),求每次操作获得的点数。