![](https://img-blog.csdnimg.cn/2019092715111047.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
矩阵乘法
.
Infinite_Jerry
这个作者很懒,什么都没留下…
展开
-
POJ 3233 Matrix Power Series
Description Given a n × n matrix A and a positive integer k, find the sum S = A + A2 + A3 + … + Ak. Input The input contains exactly one test case. The first line of input contains three positive inte...原创 2019-05-05 10:08:40 · 119 阅读 · 0 评论 -
HDOJ 5015 :233 Matrix
Problem Description In our daily life we often use 233 to express our feelings. Actually, we may say 2333, 23333, or 233333 … in the same meaning. And here is the question: Suppose we have a matrix ca...原创 2019-05-05 20:02:22 · 143 阅读 · 0 评论 -
CH3401石头游戏 0x30「数学知识」例题
描述 石头游戏在一个 n 行 m 列 (1≤n,m≤8) 的网格上进行,每个格子对应一种操作序列,操作序列至多有10种,分别用0~9这10个数字指明。 操作序列是一个长度不超过6且循环执行、每秒执行一个字符的字符串。每秒钟,所有格子同时执行各自操作序列里的下一个字符。序列中的每个字符是以下格式之一: 数字09:表示拿09个石头到该格子。 NWSE:表示把这个格子内所有的石头推到相邻的格子,N表示上...原创 2019-04-22 15:55:28 · 408 阅读 · 0 评论