题目描述 Once there was a pig, which was very fond of treasure hunting. The treasure hunt is risky, and it is inadvertently caught in the peach blossom tr ...
分类:
其他好文 时间:
2017-12-24 21:25:08
阅读次数:
243
On the way to the next secret treasure hiding place, the mathematician discovered a cave unknown to the map. The mathematician entered the cave becaus ...
分类:
其他好文 时间:
2017-12-16 18:32:53
阅读次数:
145
【链接】 "我是链接,点我呀:)" 【题意】 在这里输入题意 【题解】 1.N/s1 s1 v2的话。 可以想见,如果第二种物品的数量超过了s1的话,显然可以把它占的体积都用来买物品1,因为那样更优。 则我们第二种物品最多只要枚举到s1就可以了。 同理s2 v1 【代码】 cpp / 1.Shoud ...
分类:
其他好文 时间:
2017-12-14 13:34:06
阅读次数:
172
http://www.lydsy.com/JudgeOnline/problem.php?id=2101 Time Limit: 10 Sec Memory Limit: 64 MBSubmit: 539 Solved: 294[Submit][Status][Discuss] Descriptio ...
分类:
其他好文 时间:
2017-11-25 11:24:55
阅读次数:
169
题目链接:http://poj.org/problem?id=1066 Time Limit: 1000MS Memory Limit: 10000K Description Archeologists from the Antiquities and Curios Museum (ACM) hav ...
分类:
其他好文 时间:
2017-11-14 21:18:16
阅读次数:
218
题目链接:https://vjudge.net/problem/POJ-2594 Treasure Exploration Time Limit: 6000MS Memory Limit: 65536K Total Submissions: 9005 Accepted: 3680 Descripti ...
分类:
其他好文 时间:
2017-11-11 13:17:08
阅读次数:
176
算法详细:Dancing Links博客 1.精确覆盖: ZOJ3209 Treasure Map HUST1017 Exact cover POJ3074 Sudoku 2.可重复覆盖: HDU2295 Radar FZU1686 神龙的难题 ...
分类:
其他好文 时间:
2017-11-04 16:21:20
阅读次数:
163
财富 (treasure) Time Limit:1000ms Memory Limit:128MB 题目描述 LYK有n个小伙伴。每个小伙伴有一个身高hi。 这个游戏是这样的,LYK生活的环境是以身高为美的环境,因此在这里的每个人都羡慕比自己身高高的人,而每个人都有一个属性ai表示它对身高的羡慕值 ...
分类:
其他好文 时间:
2017-10-26 15:21:11
阅读次数:
153
财富(treasure) Time Limit:1000ms Memory Limit:128MB 题目描述 LYK有n个小伙伴。每个小伙伴有一个身高hi。 这个游戏是这样的,LYK生活的环境是以身高为美的环境,因此在这里的每个人都羡慕比自己身高高的人,而每个人都有一个属性ai表示它对身高的羡慕值。 ...
分类:
其他好文 时间:
2017-10-19 16:32:53
阅读次数:
177
Description The Shuseki Islands are an archipelago of 30001 small islands in the Yutampo Sea. The islands are evenly spaced along a line, numbered fro ...
分类:
其他好文 时间:
2017-10-10 00:15:25
阅读次数:
163