' n ' correspond to number of nodes in our graph while ' m ' correspond to the number of information about this graph .
int n = 4 , m = 3 ; int info [ 4 ] [ 3 ] = { { 1 , 2 , 12 } , { 2 , 3 , 1 } , { 4 , 3 , 1 } , { 4 , 1 , 20 } } ;