Phoenix and Memory https://codeforces.com/contes ...
目录 A. Candies B. Balanced Array C. Alternating Subsequence D. Constant Palindrome Sum E. Weights Distributing F. Restore the Permutation by Sorted Segments 比赛链接:https: codeforces.com contest A. Candi ...
2020-04-22 01:00 0 1173 推荐指数:
Phoenix and Memory https://codeforces.com/contes ...
://codeforces.com/contest/1328 A. Divisibility Prob ...
Heights https://codeforces.com/contest/1353 A ...
目录 A. Candies and Two Sisters B. Construct the String C. Two Teams Composing D. An ...
本场链接: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 题目大意: 你有两种硬币,一种是一元的,一种 ...