nexthexonextbutterflyvolantisyearnyiliashokaindigoapollolandscapecactusmateryicarusfluidmaterial 转移自老blog bzoj4827 链接 https://acm.taifua.com/bzoj/p/4827.html 题意         给两个长度为n的首尾相连的序列a,b,你可以旋转他们,可以让整个序列加上一个定值,最后要最小化sigma((...

nexthexonextbutterflyvolantisyearnyiliashokaindigoapollolandscapecactusmateryicarusfluidmaterial 转移自老blog cf1036D 链接 https://codeforc.es/problemset/problem/1036/D 题意         给你两个串s,t     ...

nexthexonextbutterflyvolantisyearnyiliashokaindigoapollolandscapecactusmateryicarusfluidmaterial 转移自老blog cf165C 链接 https://codeforc.es/problemset/problem/165/C 题意         给你一个01串s,|s|<1e6   &nb...

nexthexonextbutterflyvolantisyearnyiliashokaindigoapollolandscapecactusmateryicarusfluidmaterial 转移自老blog cf446A 链接 http://codeforces.com/problemset/problem/446/A 题意         给你一个长为n的数组,允许你修改一个元素,要求你最大化修改完后的最长严格单调增子串 题解 &am...

nexthexonextbutterflyvolantisyearnyiliashokaindigoapollolandscapecactusmateryicarusfluidmaterial 转移自老blog cf466C 链接 http://codeforces.com/problemset/problem/466/C 题意         给你一个长为n的数组,数组元素有正有负,让你划分数组为三部分 题解  &...

nexthexonextbutterflyvolantisyearnyiliashokaindigoapollolandscapecactusmateryicarusfluidmaterial 转移自老blog cf511D 链接 https://codeforces.com/contest/1153/problem/D 题意         给你一棵树,每个点上有一个flag,如果flag=0,表示这个点的权值是所有子节点权值中的最小值。如...

nexthexonextbutterflyvolantisyearnyiliashokaindigoapollolandscapecactusmateryicarusfluidmaterial 转移自老blog cf515B 链接 http://codeforces.com/contest/1066/problem/B 题意         有n个格子,每个格子有01权值,1代表这个格子可以安装暖气,每个暖气可以温暖距离自己小于r的格子,问最...

nexthexonextbutterflyvolantisyearnyiliashokaindigoapollolandscapecactusmateryicarusfluidmaterial 转移自老blog cf517B 链接 http://codeforces.com/contest/1072/problem/B 题意         题意就是给你一个A序列和一个B序列    &am...

nexthexonextbutterflyvolantisyearnyiliashokaindigoapollolandscapecactusmateryicarusfluidmaterial 转移自老blog cf517D 链接 http://codeforces.com/contest/1072/problem/D 题意         给你一个字符矩阵,起点在左上角,终点在右下角,每次可以向右或者向下走,最多可以改变这个字符矩阵中的k个...

nexthexonextbutterflyvolantisyearnyiliashokaindigoapollolandscapecactusmateryicarusfluidmaterial 转移自老blog cf518D 链接 https://codeforces.com/contest/1068/problem/D 题意         长度为n(1e5)的数组,值域为1到200,且每个数的旁边必有一个大于等于它的数。有些数字被擦掉了,...