发表评论取消回复
相关阅读
相关 CodeForces1154E
[CodeForces1154E][] 题意就是有两个教练,每个教练轮流操作,每次操作会选取所有未被选取的学生中能力值最高的那一个并把这个学生向左向右各\\(k\\)个学生
相关 codeforces C. Bits 贪心
C. Bits time limit per test 1 second memory limit per test 256 megabytes input sta
相关 codeforces 276D 贪心
D. Little Girl and Maximum XOR time limit per test 2 seconds memory limit per test 2
相关 Codeforces 191B(贪心)
问题描述: In the capital city of Berland, Bertown, demonstrations are against the recent el
相关 Codeforces 976C 题解报告
一、题目 [http://codeforces.com/contest/976/problem/C][http_codeforces.com_contest_976_pr
相关 Codeforces 976E 题解报告
一、题目 [http://codeforces.com/contest/976/problem/E][http_codeforces.com_contest_976_pr
相关 codeforces1187E
题目链接:[http://codeforces.com/problemset/problem/1187/E][http_codeforces.com_problemset_pr
相关 Codeforces 353E 贪心
题意:给你一张有向图,第i条边连接i号点和(i + 1) % n号点,问最多可以选择多少个点,使得这些点互相不可达。 思路:容易发现,如果某个边的集合点的数目大于等于2,那么
相关 Codeforces 867 E. Buy Low Sell High (贪心+优先队列)
You can perfectly predict the price of a certain stock for the next N days. You would li
相关 Codeforces976E Well played! 【贪心】
题目分析: 由于乘二的收获很大,所以我们可以证明乘的数一定是同一个,接着排序后依次选取,判断一下即可。 题目代码: 1 include<bits/stdc++
还没有评论,来说两句吧...