
矩阵
文章平均质量分 82
寒江雪里独钓着的蓑笠翁
退役XCPCer,AI搬砖狗
展开
-
Codeforces - 385E. Bear in the Field - 矩阵快速幂
Bear in the Field 题目链接 分类:math matrices1.题意概述有一片 n×nn×n 的草莓地,每个位置的初始草莓量为横坐标和纵坐标的和,然后每过一秒增长一个草莓。然后给出熊的初始位置(sx,sy)(sx,sy),以及移动的速度(dx,dy)(dx,dy),每一秒发生的事: 速度增加kk(kk为该位置的草莓数)熊的位置发生移动每个位置上草莓数+1+1原创 2017-08-05 15:26:18 · 480 阅读 · 0 评论 -
Codeforces - 551D. GukiZ and Binary Operations - 数学+矩阵快速幂
GukiZ and Binary Operations 题目链接 分类:matrices combinatorics math number theory1.题意概述给你一个长度为n的数组a[1...n]a[1...n],满足a[i]<2na[i] < 2^n,并且有![题目][http://codeforces.com/predownloaded/22/4b/224b1cd104原创 2017-08-07 15:12:04 · 378 阅读 · 0 评论