摘要: [APIO2016]划艇 思路: "参考这里" 源代码: cpp include include include include inline int getint() { register char ch; while(!isdigit(ch=getchar())); register int x 阅读全文
posted @ 2018-08-18 16:14 skylee03 阅读(253) 评论(0) 推荐(0) 编辑
摘要: [CC SEINC]Sereja and Subsegment Increasings 题目大意: 有长度为$n(n\le10^5)$的序列$A$和$B$。 在一次操作中,可以选择一个区间增加$1$。 求让$A$和$B$在模$4$意义下相等,至少要对$A$执行多少次操作。 思路: 对$A,B$对应作 阅读全文
posted @ 2018-08-18 13:46 skylee03 阅读(127) 评论(0) 推荐(0) 编辑