![](https://img-blog.csdnimg.cn/20190918140037908.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
回滚莫队
文章平均质量分 93
回滚莫队
_sky123_
这个作者很懒,什么都没留下…
展开
-
Codeforces Round #716 (Div. 2) D. Cut and Stick
题目链接Baby Ehab has a piece of Cut and Stick with an array aaa of length nnn written on it. He plans to grab a pair of scissors and do the following to it:pick a range (l,r)(l, r)(l,r) and cut out every element ala_lal, al+1a_{l + 1}al+1, …, ara_rar in原创 2021-04-26 20:23:52 · 160 阅读 · 0 评论 -
#2874. 「JOISC 2014 Day1」历史研究
题目链接题目译自 JOISC 2014 Day1 T3「歴史の研究」IOI 国历史研究的大牛——JOI 教授,最近获得了一份被认为是古代 IOI 国的住民写下的日记。JOI 教授为了通过这份日记来研究古代 IOI 国的生活,开始着手调查日记中记载的事件。日记中记录了连续 NNN 天发生的事件,每天发生一件事件。事件有种类之分。第 iii 天发生的事件的种类用一个整数 XiX_iXi 表示,XiX_iXi 越大,事件的规模就越大。JOI 教授决定用如下的方法分析这些日记:选择日记中连续的一些原创 2020-09-16 16:22:53 · 307 阅读 · 0 评论