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

Re:TLE的看这里..

Posted by intruder at 2016-07-24 19:30:29 on Problem 2778
In Reply To:TLE的看这里.. Posted by:shengrang at 2015-12-26 09:38:07
> 矩阵快速幂的时候, 不要每次加上的时候都模除. 用longlong存矩阵, 然后加完一行模除一次..
> 
> 直接TLE -> 150ms

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