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 |
非常感谢!有了这个优化我的程序从TLE降到了60+msAC!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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator