会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
JeremyGuo
2016年3月4日
【矩阵加速】[POJ3233]Matrix Power Series
摘要: 题目描述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 ...
阅读全文
posted @ 2016-03-04 13:32 JeremyGuo
阅读(163)
评论(0)
推荐(0)
【矩阵加速】[SPOJ SEQ]Recursive Sequence
摘要: 题目描述Sequence (ai) of natural numbers is defined as follows:ai=bi(i≤k) ai=c1ai−1+c2ai−2+...+ckai−k(i>k)where bj and cj are given natural nu...
阅读全文
posted @ 2016-03-04 12:53 JeremyGuo
阅读(204)
评论(0)
推荐(0)
导航
博客园
首页
新随笔
联系
订阅
管理
公告