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 |
Floyd,用这个matrix[i][j] = lcm(matrix[i][j], gcd(matrix[i][k], matrix[k][j])); 其中matrix是邻接矩阵。 高精度诸位自己想办法吧…… Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator