摘要: https://www.lydsy.com/JudgeOnline/problem.php?id=3295 把删除看成反向插入,把时间看成一维,下标看成一维,值看成一维,就变成了三维偏序问题了,需要正着扫一遍和反着扫一遍 阅读全文
posted @ 2018-08-07 15:57 walfy 阅读(121) 评论(0) 推荐(0) 编辑
摘要: ``` struct FastIO { static const int S = 1e7; int wpos; char wbuf[S]; FastIO() : wpos(0) {} inline int xchar() { static char buf[S]; static int len = 阅读全文
posted @ 2018-08-07 10:36 walfy 阅读(611) 评论(0) 推荐(0) 编辑