E - Sasha and Array(线段树懒人)+(矩阵快速幂)
Sasha has an array of integers a1, a2, ..., an. You have to perform m queries. There might be queries of two types:
1 l r x — increase all integers on the segment from l to r by values x;
2 l...
原创
2019-02-19 15:43:25 ·
224 阅读 ·
0 评论