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

我做矩阵乘法的时候是先枚举一个矩阵a的第i行第j列,如果a[i][j]=0的话,下面的一层循环就可以不要了。

Posted by ASCII at 2009-05-17 19:23:44 on Problem 3735
In Reply To:可是你的程序运行时间明显比我短很多哎,有什么特殊优化么? Posted by:Ikki at 2009-05-17 18:52:29


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