Infinite value for array
let INF = 1e7 ; let dis = new Array ( MAXN ) ; let Next = new Array ( MAXN ) ; for ( let i = 0 ; i < MAXN ; i ++ ) { dis [ i ] = new Array ( MAXN ) ; Next [ i ] = new Array ( MAXN ) ; }