Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

雁过留声——矩阵乘法是王道

Posted by fanhqme at 2009-07-15 08:55:40 on Problem 3734
对于求个数的题,dp往往是王道
对于dpTLE的题,矩阵乘法往往是王道
比赛,就是一片王道乐土
数学公式憋不出来,想都不用想

矩阵乘法!

2 1 1 0
1 2 0 1
1 0 2 1
0 1 1 2

N次幂(用平方加速),左上角的数即为所求。

逃离公式的感觉真好!

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator