0_0_13468886_12470.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13468886_12470.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13468886_12470.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13468886_12470.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13468886_12470.cpp:5:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13468886_12470.cpp:6:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13468886_12470.cpp:7:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13468886_12470.cpp:8:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13468886_12470.cpp:9:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13468886_12470.cpp:10:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13468886_12470.cpp:11:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13468886_12470.cpp: In function 'void init()':
0_0_13468886_12470.cpp:33:32: error: 'memset' was not declared in this scope
memset(head,-1,sizeof(head));
^
0_0_13468886_12470.cpp: In function 'bool spfa(int, int, int&, double&)':
0_0_13468886_12470.cpp:42:29: error: 'memset' was not declared in this scope
memset(inq,0,sizeof(inq));
^
0_0_13468886_12470.cpp:44:5: error: expected ';' before 'd'
d[st]=0; inq[st]=1; pre[st]=st; A[st]=inf;
^
0_0_13468886_12470.cpp:44:12: error: expected ')' before ';' token
d[st]=0; inq[st]=1; pre[st]=st; A[st]=inf;
^
0_0_13468886_12470.cpp:45:5: error: 'queueQ' was not declared in this scope
queueQ;
^
0_0_13468886_12470.cpp:46:5: error: 'Q' was not declared in this scope
Q.push(st);
^
0_0_13468886_12470.cpp:52:24: error: 'struct Edge' has no member named 'capedge'
if(edge[i].capedge[i].flow && d[v]
^
0_0_13468886_12470.cpp:53:17: error: expected ')' before 'd'
d[v]=d[u]+edge[i].cost;
^
0_0_13468886_12470.cpp:54:55: error: 'min' was not declared in this scope
A[v]=min(A[u],edge[i].cap-edge[i].flow);
^
0_0_13468886_12470.cpp: At global scope:
0_0_13468886_12470.cpp:63:5: error: expected unqualified-id before 'if'
if(fabs(d[ed]+inf)
^
0_0_13468886_12470.cpp:65:5: error: 'flow' does not name a type
flow+=A[ed]; cost+=A[ed]*d[ed];
^
0_0_13468886_12470.cpp:65:18: error: 'cost' does not name a type
flow+=A[ed]; cost+=A[ed]*d[ed];
^
0_0_13468886_12470.cpp:66:11: error: 'ed' was not declared in this scope
int u=ed;
^
0_0_13468886_12470.cpp:67:5: error: expected unqualified-id before 'while'
while(u!=st){
^
0_0_13468886_12470.cpp:72:5: error: expected unqualified-id before 'return'
return true;
^
0_0_13468886_12470.cpp:73:1: error: expected declaration before '}' token
}
^
|