0_0_33636792_24537.cpp: In function 'bool Bellman_ford()':
0_0_33636792_24537.cpp:27:11: error: 'INF' was not declared in this scope
d[i] = -INF;
^
0_0_33636792_24537.cpp:36:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(d[v]<d[u]+w[v] && d[u]+w[v]> 0)
^
0_0_33636792_24537.cpp:37:27: error: 'en' was not declared in this scope
d[v]=d[u]+en[v];
^
0_0_33636792_24537.cpp:44:25: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(d[v]<d[u]+w[v] && d[u]+w[v] > 0)
^
0_0_33636792_24537.cpp:50:1: error: a function-definition is not allowed here before '{' token
{
^
0_0_33636792_24537.cpp:78:1: error: expected '}' at end of input
}
^
|