
母函数
文章平均质量分 69
fsqfang
这个作者很懒,什么都没留下…
展开
-
hdu 1085 Holding Bin-Laden Captive!
Problem Description We all know that Bin-Laden is a notorious terrorist, and he has disappeared for a long time. But recently, it is reported that he hides in Hang Zhou of China! “Oh, God! How ter原创 2014-08-06 09:04:41 · 362 阅读 · 0 评论 -
hdu 1171 Big Event
Problem Description Nowadays, we all know that Computer College is the biggest department in HDU. But, maybe you don't know that Computer College had ever been split into Computer College and Softwar原创 2014-08-06 20:00:47 · 301 阅读 · 0 评论 -
hdu 2079 选课时间
Problem Description 又到了选课的时间了,xhd看着选课表发呆,为了想让下一学期好过点,他想知道学n个学分共有多少组合。你来帮帮他吧。(xhd认为一样学分的课没区别) Input 输入数据的第一行是一个数据T,表示有T组数据。 每组数据的第一行是两个整数n(1 接着有k行,每行有两个整数a(1 Output 对于每组输入数据,输出一个整数,表示学n个学分原创 2014-08-09 11:02:20 · 529 阅读 · 0 评论 -
hdu 2082 找单词
Problem Description 假设有x1个字母A, x2个字母B,..... x26个字母Z,同时假设字母A的价值为1,字母B的价值为2,..... 字母Z的价值为26。那么,对于给定的字母,可以找到多少价值 Input 输入首先是一个整数N,代表测试实例的个数。 然后包括N行数据,每行包括26个 Output 对于每个测试实例,请输出能找到的总价原创 2014-08-09 11:36:01 · 355 阅读 · 0 评论