if (variable >= 1000) { printf("INF"); }
I chose a random variable name, but this logic should do what you want.
1
solved FloydWarshall infinite [closed]
if (variable >= 1000) { printf("INF"); }
I chose a random variable name, but this logic should do what you want.
1
solved FloydWarshall infinite [closed]