码迷,mamicode.com
首页 >  
搜索关键字:gty    ( 297个结果
HDU 5170 GTY's math problem 精度判断问题
传送门 GTY's math problem Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 568    Accepted Submission(s): 263 Problem Description...
分类:其他好文   时间:2015-02-09 18:32:13    阅读次数:164
HDU 5171 GTY's birthday gift (矩阵快速幂)
hdu 5171 矩阵快速幂...
分类:其他好文   时间:2015-02-09 12:54:27    阅读次数:159
HDU 5171 GTY's birthday gift 矩阵快速幂
GTY's birthday giftTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others) 【Problem Description】FFZ's birthday is coming. GTY ...
分类:其他好文   时间:2015-02-09 12:38:17    阅读次数:189
1002 GTY's birthday gift
GTY's birthday gift Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others) ...
分类:其他好文   时间:2015-02-09 01:58:58    阅读次数:220
HDU 5172 GTY's gay friends(线段树)
Problem Description GTY has n gay friends. To manage them conveniently, every morning he ordered all his gay friends to stand in a line. Every gay friend has a characteristic value ai , to expr...
分类:其他好文   时间:2015-02-08 18:14:38    阅读次数:114
BestCoder Round #29 1003 (hdu 5172) GTY's gay friends [线段树 判不同 预处理 好题]
传送门GTY's gay friendsTime Limit: 6000/3000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 264Accepted Submission(s): 57P...
分类:其他好文   时间:2015-02-08 18:00:14    阅读次数:199
GTY's birthday gift【矩阵快速幂】
题目大意:GTY的朋友ZZF的生日要来了,GTY问他的基友送什么礼物比较好,他的一个基友说送一个可重集吧!于是GTY找到了一个可重集S,GTY能使用神犇魔法k次,每次可以向可重集中加入一个数 a+b ,现在GTY想最大化可重集的和,这个工作就交给你了。 注:可重集是指可以包含多个相同元素的集合思路:...
分类:其他好文   时间:2015-02-08 15:19:16    阅读次数:159
BestCoder Round #29 GTY's gay friends
#include#include#include#includeusingnamespacestd;constintMAX=100000+10;intres[MAX>1;build(L,mid,o=R){returnres[o];}intmid=(L+R)>>1;inttt=0;if(lsmid)t...
分类:其他好文   时间:2015-02-08 10:14:47    阅读次数:146
HDU 5171 GTY's birthday gift (矩阵快速幂)
题目链接:HDU 5171 GTY's birthday gift 题意:每次将序列中两个数相加再加入序列中,反复操作k次,问k次操作后的序列和最大是多少。 思路:序列和最大,显然是每次取序列中最大的两个数相加。 3 2 6 3 2 第一步:6 + 3 = 9  1 * 6 + 1 * 3 = 9 第二步:6 + 3 + 6 = 15 2 * 6 + 1 * 3 = 15 第三步...
分类:其他好文   时间:2015-02-08 09:08:51    阅读次数:274
HDU 5170 GTY's math problem (bsst code #29 1001)
比较大小...
分类:其他好文   时间:2015-02-08 09:07:49    阅读次数:146
297条   上一页 1 ... 25 26 27 28 29 30 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!