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

学习了,我不是用的矩阵乘法,我是枚举那一条走来走去的边。因为N很大,最后肯定是在一条比较小的边上重复走好多次然后退出的。

Posted by yygy at 2013-02-03 19:36:26 on Problem 3613
In Reply To:真是一个很好的题目 Posted by:shllhsno1 at 2012-09-29 18:55:55
> 真是一个很好的题目,学到了矩阵乘法和倍增算法的应用,受益匪浅。

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