发表评论取消回复
相关阅读
相关 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 873C(贪心)
问题描述: Ivan is playing a strange game. He has a matrix a with n rows and m columns. Eac
相关 Codeforces 191B(贪心)
问题描述: In the capital city of Berland, Bertown, demonstrations are against the recent el
相关 CodeForces 825D(贪心)
问题描述: You are given two strings s and t consisting of small Latin letters, string s can
相关 CodeForces 825C(贪心)
问题描述: Makes solves problems on Decoforces and lots of other different online judges. Ea
相关 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++
还没有评论,来说两句吧...