Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
我做矩阵乘法的时候是先枚举一个矩阵a的第i行第j列,如果a[i][j]=0的话,下面的一层循环就可以不要了。In Reply To:可是你的程序运行时间明显比我短很多哎,有什么特殊优化么? Posted by:Ikki at 2009-05-17 18:52:29 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator