目录 A. Candies and Two Sisters B. Construct the String C. Two Teams Composing D. An ...
目录 A. Most Unstable Array B. Two Arrays And Swaps C. Board Moves D. Constructing the Array E. K periodic Garland F. Decreasing Heights https: codeforces.com contest A. Most Unstable Array 构造序列 ,m, , ...
2020-05-15 00:56 2 474 推荐指数:
目录 A. Candies and Two Sisters B. Construct the String C. Two Teams Composing D. An ...
Phoenix and Memory https://codeforces.com/contes ...
://codeforces.com/contest/1328 A. Divisibility Prob ...
目录 A. Candies B. Balanced Array C. Alternating Subsequence D. Constant Palindrome ...
本场链接:Codeforces Round #737 (Div. 2) 闲话 做的时候把C的条件转错了白做一个多小时.最后E由于假了所以就不写了,有兴趣自己补吧. A. Ezzat and Two Subsequences 考虑平均值:最大值所在的组,会因为放入别的数而变小.每个数都需要 ...
Codeforces Round #757 (Div. 2) 题解 A:Divan and a Store 题目大意 给你若干个数,然后你要选若干个数,每个数都在 l~r 之间,你要在尽可能选多的数的同时保证所有你选的数的和不超过一个值。 思路 就直接贪心,把可以选的数拿出来排个序 ...
题目链接 这次题目其实蛮坑的,有点恶心人。 A. Eshag Loves Big Arrays 题意 给定一个长度为\(n\)的序列,可以选择一段区间将其中严格大于区间平均数的数删掉,可以执行任 ...
Codeforces Round #734 (Div. 3)个人题解 博主前言:萌新第一次写题解,还请dalao们轻点喷QAQ 比赛链接:Codeforces Round #734 (Div. 3) A题 Polycarp and Coins 题目大意: 你有两种硬币,一种是一元的,一种 ...