原文:Codeforces Round #642 (Div. 3) 题解 (全部6题)

目录 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 推荐指数:

查看详情

Codeforces Round #737 (Div. 2) A~E 题解

本场链接:Codeforces Round #737 (Div. 2) 闲话 做的时候把C的条件转错了白做一个多小时.最后E由于假了所以就不写了,有兴趣自己补吧. A. Ezzat and Two Subsequences 考虑平均值:最大值所在的组,会因为放入别的数而变小.每个数都需要 ...

Sun Aug 15 17:52:00 CST 2021 17 22
Codeforces Round #757 (Div. 2) 题解

Codeforces Round #757 (Div. 2) 题解 A:Divan and a Store 题目大意 给你若干个数,然后你要选若干个数,每个数都在 l~r 之间,你要在尽可能选多的数的同时保证所有你选的数的和不超过一个值。 思路 就直接贪心,把可以选的数拿出来排个序 ...

Mon Nov 29 01:35:00 CST 2021 0 102
Codeforces Round #722 (Div. 2) 题解

题目链接 这次题目其实蛮坑的,有点恶心人。 A. Eshag Loves Big Arrays 题意 给定一个长度为\(n\)的序列,可以选择一段区间将其中严格大于区间平均数的数删掉,可以执行任 ...

Tue May 25 12:13:00 CST 2021 2 215
Codeforces Round #734 (Div. 3)个人题解

Codeforces Round #734 (Div. 3)个人题解 博主前言:萌新第一次写题解,还请dalao们轻点喷QAQ 比赛链接:Codeforces Round #734 (Div. 3) A Polycarp and Coins 题目大意: 你有两种硬币,一种是一元的,一种 ...

Tue Jul 27 00:40:00 CST 2021 9 193
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM