码迷,mamicode.com
首页 >  
搜索关键字:dragon balls    ( 484个结果
POJ-1703-Find them, Catch them(并查集分类)
Description The police office in Tadu City decides to say ends to the chaos, as launch actions to root up the TWO gangs in the city, Gang Dragon and G ...
分类:其他好文   时间:2018-11-14 16:37:31    阅读次数:165
POJ 3687 Labeling Balls(反向拓扑+贪心思想!!!非常棒的一道题)
Labeling Balls Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 16100 Accepted: 4726 Description Windy has N balls of distinct weights from ...
分类:其他好文   时间:2018-10-25 17:54:35    阅读次数:123
CF792E Colored Balls
题目大意:将n个数分解成若干组,如4 = 2+2, 7 = 2+2+3,保证所有组中数字之差<=1。 首先我们能想到找一个最小值x,然后从x+1到1枚举并check,找到了就输出。这是40分做法。 能不能优化?我们发现,若k合法,那么x%k==0或x%(k+1)==0或x%(k-1)==0。 所以枚 ...
分类:其他好文   时间:2018-10-03 22:18:02    阅读次数:451
ethereum/EIPs-607 Hardfork Meta: Spurious Dragon硬分叉相关
607 Hardfork Meta: Spurious Dragon Alex Beregszaszi Meta Final 2017-04-23 155, 160, 161, 170 Abstract This specifies the changes included in the hard ...
分类:Web程序   时间:2018-09-29 17:36:54    阅读次数:212
UVA 11292 Dragon of Loowater
题目链接:https://vjudge.net/problem/UVA 11292 题目大意:有一个多头怪,需要击败。多头怪有n个头,每一个头有不同的直径,有m个勇士,每个勇士有一个能力值, 能力值大于直径就能砍掉那个头,但需要付出等同于能力值的金币,每个勇士只能砍一个头,问最少用多少金币可以杀 掉 ...
分类:其他好文   时间:2018-09-11 23:47:27    阅读次数:179
计蒜客 Lpl and Energy-saving Lamps(二分+线段树区间最小)
During tea-drinking, princess, amongst other things, asked why has such a good-natured and cute Dragon imprisoned Lpl in the Castle? Dragon smiled eni ...
分类:其他好文   时间:2018-09-04 23:32:05    阅读次数:212
计蒜客- Lpl and Energy-saving Lamps 线段树+点更新
During tea-drinking, princess, amongst other things, asked why has such a good-natured and cute Dragon imprisoned Lpl in the Castle? Dragon smiled eni ...
分类:其他好文   时间:2018-09-04 19:09:58    阅读次数:406
POJ3687 反向拓扑排序
Labeling Balls Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 16032 Accepted: 4713 Description Windy has N balls of distinct weights from ...
分类:编程语言   时间:2018-08-29 21:27:22    阅读次数:290
Codeforces146D 概率DP
Bag of mice The dragon and the princess are arguing about what to do on the New Year's Eve. The dragon suggests flying to the mountains to watch fairi ...
分类:其他好文   时间:2018-08-26 10:28:09    阅读次数:138
小球下落 (Dropping Balls,UVA 679)
题目描述: 题目思路: 1.直接用数组模拟二叉树下落过程 //超时 //紫书提供了另一个思路 ...
分类:其他好文   时间:2018-08-25 11:46:04    阅读次数:190
484条   上一页 1 ... 4 5 6 7 8 ... 49 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!