数学--技巧题
文章平均质量分 78
angel_e
这个作者很懒,什么都没留下…
展开
-
hdu 3064 twoNumber
twoNumberTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 2048/1024 K (Java/Others)Total Submission(s): 675 Accepted Submission(s): 210Problem Description小白请你帮个忙,在一大堆杂乱无章的数字中原创 2014-03-17 11:56:08 · 960 阅读 · 1 评论 -
jiulianhuan 快速幂--矩阵快速幂
题目信息:1471: Jiulianhuan时间限制: 1 Sec 内存限制: 128 MB提交: 95 解决: 22题目描述 For each data set in the input print on a separate line, on the standa I think that you might have played the原创 2014-05-16 19:31:31 · 655 阅读 · 0 评论 -
Post-office 树状数组
Post office题目描述There are N(N<=1000) villages along a straight road, numbered from 1 to N for simplicity. We know exactly the position of every one (noted pos[i],pos[i] is positive intege原创 2014-05-17 09:10:20 · 607 阅读 · 0 评论 -
错排问题及其推广小结
错排问题及其推广小结1:错排问题最早被尼古拉·伯努利和欧拉研究,因此历史上也称为伯努利-欧拉的装错信封的问题。问题1: 把n个元素放入n个编号位置,其中第k号元素不能放在第k号位置的所有情况有多少种? n = 1; f(1) = 0; n = 2; f(2) = 1; n >=3; f(n) = (n-1)*(f(n-1)+f(n-2));原创 2014-06-11 16:17:30 · 925 阅读 · 0 评论