
矩阵
w-y-p
这个作者很懒,什么都没留下…
展开
-
poj-3318(矩阵 随机化)
题意:给定三个矩阵a,b,c,问a×b是否等于c?分析:只需要设置一个列向量x,求a*(b*x),求c*x,看是否相等即可。当然这不能保证正确,x是生成的随机向量,多次生成多次测试即可使错误概率大大减小。转载 2014-09-17 18:34:08 · 529 阅读 · 0 评论 -
hdu-5015(矩阵快速幂)
233 MatrixTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/65536 KProblem DescriptionIn our daily life we often use 233 to express our feelings. Actually, we may say 2333, 23转载 2014-09-18 18:38:36 · 455 阅读 · 0 评论 -
HLG-1375(矩阵乘法+快速幂)
The Active LeyniTime Limit: 1000 MSMemory Limit: 65536 K DescriptionThere is a map of the town where Leynilives.The vertex S indicate原创 2014-10-21 20:38:49 · 500 阅读 · 0 评论 -
HLG-1126(矩阵乘法+快速幂)
Final Destination IITime Limit: 1000 MS Memory Limit: 65536 KDescriptionJiaoZhu likes going on adventure! One day, he walks into a big castle, and there is an unique stairway. JiaoZhu fin转载 2014-10-20 19:44:48 · 516 阅读 · 0 评论 -
HLG-1251(快速幂)
Marshal's Confusion IIITime Limit: 3000 MS Memory Limit: 65536 KTotal Submit: 175(42 users) Total Accepted: 55(35 users) Rating: Special Judge: NoDescriptionMarshallike to solve a原创 2014-10-21 19:17:16 · 571 阅读 · 0 评论