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

非常感谢!有了这个优化我的程序从TLE降到了60+msAC!

Posted by IceKingdom at 2009-05-21 16:24:50 on Problem 3735
In Reply To:我做矩阵乘法的时候是先枚举一个矩阵a的第i行第j列,如果a[i][j]=0的话,下面的一层循环就可以不要了。 Posted by:ASCII at 2009-05-17 19:23:44
thx

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