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

晕。。。。。有的数据求出的周期似乎很长。。。。。用了二分才勉强AC

Posted by hanjialong at 2008-07-24 16:38:43 on Problem 1026
hanjialong 1026 Accepted 264K 344MS C++ 1432B 

死都TLE的弟兄可以试试用二分求置换的n次幂。。。。就类似于求矩阵的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