2set的tarjan写法.....
Party
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 3841 Accepted Submission(s): 1244
Problem Description...
分类:
其他好文 时间:
2014-07-22 23:03:55
阅读次数:
304
Arranging Cup-cakes
Our Chef is catering for a big corporate office party and is busy preparing different mouth watering dishes. The host has insisted that he serves his delicious cupcakes for de...
分类:
其他好文 时间:
2014-05-07 12:34:21
阅读次数:
396
题目描述You are organizing a dance party. The party
will be attended by n boys and n girls. There will be several rounds of dancing.
In each round, you di...
分类:
其他好文 时间:
2014-05-05 23:18:13
阅读次数:
364
题目描述You’re giving a party in the garden of your
villa by the sea. The party is a huge success, and everyone is here. It’s a
warm, sunny evening, and a...
分类:
其他好文 时间:
2014-05-05 21:55:51
阅读次数:
305
点击打开链接
Party All the Time
Time Limit: 6000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 2961 Accepted Submission(s): 939
Problem Description...
分类:
其他好文 时间:
2014-05-03 15:30:56
阅读次数:
374
HDU 1520 Anniversary party
隔层选取,比较基础的树形DP了。
HDU 2196 Computer
我只想说一句这是毛线DP,明明是图论好么。
两次BFS求出权值和最大的一条链,再用两次BFS更新各点最大值。
搜了一下,真的有人用DP做,貌似更快一些。...
分类:
其他好文 时间:
2014-04-28 10:33:42
阅读次数:
282