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到底怎么初始化对角线元素啊蛋疼啊,floyd到底该怎么初始化对角线元素?如果在输入时的数组记为mat[i][i],那么mat[i][i]由于有自环是不是要初始化为inf?那用于存放结果的ans[][]数组对角线又该怎么初始化?初始化为0才过,初始化为inf一直不过???纠结啊,求指教 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator