Zhuge Liang’s Password Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768…
分类:online judge HDU
HDU 1576 A/B(数论简单题,求逆元)
A/B Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Tot…
HDU 4221 Greedy?(贪心)
Greedy? Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others…
HDU 2476 String painter (区间DP)
String painter Time Limit: 5000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java…
HDU 4398 Template Library Management(贪心,STL)
Template Library Management Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/…
HDU 4681 String(2013多校8 1006题 DP)
String Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)…
HDU 4584 Building bridges (水题)
Building bridges Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Ja…
HDU 2243 考研路茫茫——单词情结(AC自动机+矩阵)
考研路茫茫——单词情结 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Ot…
HDU 2585 [Hotel]字符串递归处理
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2585 题目大意:马克思要找个曾经去过的很好的旅馆,可惜他记不完整旅馆的名字。他有已知的部分信息和可能的旅馆全称,输出匹配的…
HDU 4709 Herding (枚举)
Herding Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others…
HDU 4198 Quick out of the Harbour(BFS+优先队列)
Quick out of the Harbour Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/327…
HDU 1847 [Good Luck in CET-4 Everybody!] 博弈
题目大意:两个人取n张牌,每次只能取1,2,4等2的幂次张,取完最后一张的获胜。问先手必胜吗? 关键思想:有求SG值的方法,或者找规律的方法,仅贴代码不做讲述,到处都有。了解基础博弈论的话很容易理解。 代码如下: SG值…