摘要: 链接: https://vjudge.net/problem/UVALive 7040 题意: Recently, Mr. Big recieved n owers from his fans. He wants to recolor those owers with m colors. The o 阅读全文
posted @ 2019-11-06 22:25 YDDDD 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 链接: http://acm.hdu.edu.cn/showproblem.php?pid=2082 题意: 假设有x1个字母A, x2个字母B,..... x26个字母Z,同时假设字母A的价值为1,字母B的价值为2,..... 字母Z的价值为26。那么,对于给定的字母,可以找到多少价值 inclu 阅读全文
posted @ 2019-11-06 22:15 YDDDD 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 链接: http://acm.hdu.edu.cn/showproblem.php?pid=5446 题意: On the way to the next secret treasure hiding place, the mathematician discovered a cave unknow 阅读全文
posted @ 2019-11-06 22:13 YDDDD 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 链接: https://vjudge.net/problem/HDU 1465 题意: 大家常常感慨,要做好一件事情真的不容易,确实,失败比成功容易多了! 做好“一件”事情尚且不易,若想永远成功而总从不失败,那更是难上加难了,就像花钱总是比挣钱容易的道理一样。 话虽这样说,我还是要告诉大家,要想失败 阅读全文
posted @ 2019-11-06 22:03 YDDDD 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 母函数 普通母函数 普通母函数 吧组合问题的加法和幂级数的乘幂结合起来。 幂级数的乘积存在指数上的加法。 例子: 我们有1, 2, 3, 4克的砝码各一个。 对于这四个砝码的选择,第一个有选和不选,第二个有选和不选,第三个第四个同理。 我们可以用数学式子表示。 $(x^0+x^1) (x^0+x^2 阅读全文
posted @ 2019-11-06 01:39 YDDDD 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 链接: http://acm.hdu.edu.cn/showproblem.php?pid=1085 题意: We all know that Bin Laden is a notorious terrorist, and he has disappeared for a long time. Bu 阅读全文
posted @ 2019-11-06 01:24 YDDDD 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 链接: https://vjudge.net/problem/HDU 1398 题意: People in Silverland use square coins. Not only they have square shapes but also their values are square n 阅读全文
posted @ 2019-11-06 01:22 YDDDD 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 链接: https://vjudge.net/problem/HDU 1028 题意: "Well, it seems the first problem is too easy. I will let you know how foolish you are later." feng5166 sa 阅读全文
posted @ 2019-11-06 01:21 YDDDD 阅读(91) 评论(0) 推荐(0) 编辑