nexthexonextbutterflyvolantisyearnyiliashokaindigoapollolandscapecactusmateryicarusfluidmaterial 转移自老blog cf521F1 链接 http://codeforces.com/contest/1077/problem/F1 题意         给你n个点,每个点有个权值a[i],可以在n个点中选x个特殊点,要保证最后的序列中每连续k个点都至...

nexthexonextbutterflyvolantisyearnyiliashokaindigoapollolandscapecactusmateryicarusfluidmaterial 转移自老blog cf521F2 链接 http://codeforces.com/contest/1077/problem/F2 题意         给你n个点,每个点有个权值a[i],可以在n个点中选x个特殊点,要保证最后的序列中每连续k个点都至...

nexthexonextbutterflyvolantisyearnyiliashokaindigoapollolandscapecactusmateryicarusfluidmaterial 转移自老blog cf522C 链接 http://codeforces.com/contest/1079/problem/C 题意         给一个序列,让你构造一个相等长度的序列,构造的序列中每个元素的取值范围都为[1,5]。 &nb...

nexthexonextbutterflyvolantisyearnyiliashokaindigoapollolandscapecactusmateryicarusfluidmaterial 转移自老blog cf523C 链接 https://codeforc.es/contest/1061/problem/C 题意         给你一个n( (1≤𝑛≤100000)个数的数列,让你构造一个序列,保证每个位置的数字...

nexthexonextbutterflyvolantisyearnyiliashokaindigoapollolandscapecactusmateryicarusfluidmaterial 转移自老blog cf526D 链接 https://codeforces.com/contest/1084/problem/D 题意         给你一棵树,在树中找出一条路径(也可以只有一个点),让这条路径(点权和-边权和)最大。 &n...

nexthexonextbutterflyvolantisyearnyiliashokaindigoapollolandscapecactusmateryicarusfluidmaterial 转移自老blog cf531F 链接 https://codeforces.com/contest/1102/problem/F 题意         给你一个最多16行1e4列的矩阵A,对矩阵按列优先遍历,得到一维数组B,当然,此时也可以输A是B按列...

nexthexonextbutterflyvolantisyearnyiliashokaindigoapollolandscapecactusmateryicarusfluidmaterial 转移自老blog cf544E 链接 https://codeforces.com/contest/1133/problem/E 题意         给你n个数,分成k组,允许某些数不放,要求每组内最大值与最小值的差值不超过5。求k组最多可以放多少个...

nexthexonextbutterflyvolantisyearnyiliashokaindigoapollolandscapecactusmateryicarusfluidmaterial 转移自老blog cf660C 链接 http://codeforces.com/problemset/problem/660/C 题意         给你长度为n的01串,最多把k个0变成1,变完后连续的最长的全是1的串的长度是多少,并且输出最后得...

nexthexonextbutterflyvolantisyearnyiliashokaindigoapollolandscapecactusmateryicarusfluidmaterial 转移自老blog cf734C 链接 http://codeforces.com/problemset/problem/734/C 题意         要n点药水,目前每秒钟增加x点药水,拥有k点魔法的你有两种方案提前增加效率:  ...

nexthexonextbutterflyvolantisyearnyiliashokaindigoapollolandscapecactusmateryicarusfluidmaterial 转移自老blog cf749C 链接 http://codeforces.com/problemset/problem/749/C 题意         共有n个人,编号为1~n。他们每个人属于且仅属于R阵营或N阵营中的一个。现在他们要进行一场投票。投...