hdoj
star_moon0309
只有不断努力,才能变得更强!
展开
-
hdu1166(敌兵布阵)(线段树经典题)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1166题面就不在这里发了,大家自行去hdoj看题。第一次做线段树题,套板子很不熟悉。最后还是看了某大牛的代码才写出来。上代码:#include<cstdio>#include<algorithm>#include<iostream>#include<cst...原创 2018-02-28 12:41:15 · 223 阅读 · 0 评论 -
hdu6315(线段树+lazy操作)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=6315 Naive Operations Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 50276...原创 2018-10-18 22:44:44 · 165 阅读 · 0 评论 -
hdu2222(AC自动机模板题)
感觉最近撸数据结构收获不少~题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2222Keywords SearchTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 74272 Accep...原创 2018-06-09 14:11:01 · 443 阅读 · 0 评论 -
hdu1754(线段树单点修改,区间查询最大值)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1754I Hate ItTime Limit: 9000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 94860 Accepted Submission(s): 359...原创 2018-06-08 19:42:21 · 250 阅读 · 0 评论 -
hdu2870(dp+单调栈优化)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2870Largest SubmatrixTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2835 Accepted Submission(...原创 2018-06-12 15:27:54 · 393 阅读 · 0 评论 -
hdu1074(状压dp)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1074Doing HomeworkTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 11457 Accepted Submission(s)...原创 2018-05-25 17:18:26 · 398 阅读 · 0 评论 -
hdu1520(树形dp)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1520Anniversary partyTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 15458 Accepted Submission...原创 2018-05-20 22:15:54 · 149 阅读 · 0 评论 -
hdu1698(线段树)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1698Just a HookTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 39519 Accepted Submission(s): 1...原创 2018-05-20 14:06:22 · 171 阅读 · 0 评论 -
hdu1029(基础dp)
B - Ignatius and the Princess IV "OK, you are not too bad, em... But you can never pass the next test." feng5166 says. "I will tell you an odd number N, and then N integers. There will be a special i...原创 2018-05-12 21:35:15 · 1869 阅读 · 2 评论 -
hdoj4648(Magic Pen 6)(前缀和)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4648Magic Pen 6Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 2565 Accepted Submission(s): 91...原创 2018-04-26 00:07:11 · 584 阅读 · 0 评论 -
hdu3709(数位dp)
Balanced NumberA balanced number is a non-negative integer that can be balanced if a pivot is placed at some digit. More specifically, imagine each digit as a box with weight indicated by the digit....原创 2018-12-19 12:23:08 · 223 阅读 · 0 评论