码迷,mamicode.com
首页 >  
搜索关键字:zcc loves codefires    ( 818个结果
hdu 5194 DZY Loves Balls
Problem DescriptionThere arenblack balls andmwhite balls in the big box.Now, DZY starts to randomly pick out the balls one by one. It forms a sequence...
分类:其他好文   时间:2015-08-13 21:55:56    阅读次数:144
HUNAN 11560 Yangyang loves AC(二分+贪心)
http://acm.hunnu.edu.cn/online/?action=problem&type=show&id=11560&courseid=0题意:总共有n天,每天yangyang都需要一个快乐值,有m个队友,每个队友都会给阳阳一个快乐值(为2的幂),并且只能给一次,如果某一天队友给的快乐...
分类:其他好文   时间:2015-08-13 21:47:22    阅读次数:176
codeforces
B - Inna and Nine Time Limit:1000MS     Memory Limit:262144KB     64bit IO Format:%I64d & %I64u Submit Status Description Inna loves digit 9 very much. That's why she asked Dima to wri...
分类:其他好文   时间:2015-08-09 18:55:11    阅读次数:233
N个盒子M个物品,求装满盒子的最多
Yangyang loves AC题意: 给出Yangyang N天中每天达到happy 的最大值,他会从M个ACMer中得到happy值; 求他能最多达到happy的天数。 分析: 如果直接贪心显然有问题,所以我们需要换个姿势。 二分答案+贪心: 二分得到最多happy 天数,然后贪心,每次从M个ACMer中选最大的happy值,放到容量最大的盒子里,用优先队列每次维护最大容量的盒子。 算...
分类:其他好文   时间:2015-08-09 12:40:51    阅读次数:158
CodeForces 545B
Description Little Susie loves strings. Today she calculates distances between them. As Susie is a small girl after all, her strings contain only digits zero and one. She uses the definition of Ham...
分类:其他好文   时间:2015-08-08 18:25:39    阅读次数:117
Codeforces Round #Pi (Div. 2)——map——Geometric Progression
Polycarp loves geometric progressions very much. Since he was only three years old, he loves only the progressions of length three. He also has a favo...
分类:其他好文   时间:2015-08-06 21:54:13    阅读次数:104
HDU 4360 As long as Binbin loves Sangsang(SPFA)
SPFA,多一个dp数组记录,特判n=1的情况,路径长度可能超int。...
分类:其他好文   时间:2015-08-06 18:32:51    阅读次数:103
HDU 5344
MZL's xor Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 546    Accepted Submission(s): 365 Problem Description MZL loves xor very muc...
分类:其他好文   时间:2015-08-06 11:07:51    阅读次数:102
hdu 5344 (多校联赛) MZL's xor --- 位运算
here:    首先看一下题吧:题意就是让你把一个序列里所有的(Ai+Aj) 的异或求出来。(1      Problem Description MZL loves xor very much.Now he gets an array A.The length of A is n.He wants to know the xor of all (Ai+Aj)(1≤i,j≤n) ...
分类:其他好文   时间:2015-08-06 09:31:18    阅读次数:215
HDU5344——数学题——MZL's xor
MZL loves xor very much.Now he gets an array A.The length of A is n.He wants to know the xor of all (Ai+Aj)(1≤i,j≤n)The xor of an array B is defined a...
分类:其他好文   时间:2015-08-06 00:00:57    阅读次数:510
818条   上一页 1 ... 49 50 51 52 53 ... 82 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!