母函数
oopslb
这个作者很懒,什么都没留下…
展开
-
hdu 2082 找单词 (母函数)
http://acm.hdu.edu.cn/showproblem.php?pid=2082 思路;这题直接套用模板,因为1是有限个,所以初始化要改变一下,而且求的是小于等于50的总和,所以把各项加起来。 #include <iostream> #include <stdio.h> #include <string.h> #include <algo...原创 2017-07-18 09:43:49 · 206 阅读 · 0 评论 -
hdu 1709 The Balance (母函数)
http://acm.hdu.edu.cn/showproblem.php?pid=1709 思路:思路:这题的题意是用给出的数加或者减来组合一个新的数,然后输出不能凑到的数,其实这里只要加一步c2[j-k]+=c1[j]或者c2[k-j]+=c1[j]就可以了 代码: #include <iostream> #include <stdio.h> #include ...原创 2017-07-18 09:51:03 · 247 阅读 · 0 评论 -
hdu 1028 Ignatius and the Princess III (母函数)
Ignatius and the Princess III Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 25660 Accepted Submission(s): 17729 Problem Description "...原创 2017-07-18 09:54:40 · 200 阅读 · 0 评论 -
hdu 1398 Square Coins (母函数)
Square Coins Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 14296 Accepted Submission(s): 9824 Problem Description People in Silverlan...原创 2017-07-18 10:03:23 · 190 阅读 · 0 评论 -
hdu 1085 Holding Bin-Laden Captive! (母函数)
Holding Bin-Laden Captive! Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 25860 Accepted Submission(s): 11408 Problem Description We a...原创 2017-07-18 10:07:39 · 217 阅读 · 0 评论 -
hdu 2152 Fruit (母函数)
Fruit Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 5775 Accepted Submission(s): 3402 Problem Description 转眼到了收获的季节,由于有TT的专业指导,Lele获得...原创 2017-07-18 10:17:37 · 217 阅读 · 0 评论 -
hdu 2110 Crisis of HDU(母函数)
Crisis of HDU Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 6495 Accepted Submission(s): 1999 Problem Description 话说上回讲到HDU大战东洋小苟,结果自...原创 2017-07-18 10:14:26 · 221 阅读 · 0 评论