- 博客(4)
- 收藏
- 关注
原创 hdu 3268 最短路 建模+细节
题目:http://icpc.njust.edu.cn/Problem/Hdu/3268/代码://#include#include #include #include #include #include //toloewr()#include #include #include // cout<<setprecision(1)<<fixed
2017-10-21 23:31:37 342
原创 poj 1050最大子矩阵
题目:To the MaxTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 49846 Accepted: 26420DescriptionGiven a two-dimensional array of positive and negat
2017-10-15 21:19:12 206
原创 poj 3233 Matrix Power Series 矩阵快速幂or二分
题目:DescriptionGiven a n × n matrix A and a positive integer k, find the sum S = A + A2 + A3 + … + Ak.InputThe input contains exactly one test case. The first line of input contains
2017-10-11 22:41:56 317
原创 组合数取模之逆元方法+模板
参自:http://www.cnblogs.com/liziran/p/6804803.htmlhttps://baike.baidu.com/item/%E8%B4%B9%E9%A9%AC%E5%B0%8F%E5%AE%9A%E7%90%86/4776158?fr=aladdin现在目标是求Cnm%p,p为素数(经典p=1e9+7)虽然有Cnm=n
2017-10-08 22:15:15 2425
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人