0_0_17353259_12448.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_17353259_12448.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_17353259_12448.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_17353259_12448.cpp: In function 'void add(int, int, int, int)':
0_0_17353259_12448.cpp:20:18: error: 'swap' was not declared in this scope
swap(a1,a2);
^
0_0_17353259_12448.cpp: In function 'void build(int)':
0_0_17353259_12448.cpp:35:29: error: 'memset' was not declared in this scope
memset(p,-1,sizeof(p));
^
0_0_17353259_12448.cpp:39:41: error: 'scanf' was not declared in this scope
scanf("%d",&a[i][j]);
^
0_0_17353259_12448.cpp: In function 'bool spfa(int)':
0_0_17353259_12448.cpp:60:8: error: 'queueq' was not declared in this scope
queueq;
^
0_0_17353259_12448.cpp:61:36: error: 'memset' was not declared in this scope
memset(visit,0,sizeof(visit));
^
0_0_17353259_12448.cpp:67:8: error: 'q' was not declared in this scope
q.push(source);
^
0_0_17353259_12448.cpp: In function 'int main()':
0_0_17353259_12448.cpp:116:27: error: 'scanf' was not declared in this scope
while(scanf("%d",&n)!=EOF)
^
0_0_17353259_12448.cpp:116:30: error: 'EOF' was not declared in this scope
while(scanf("%d",&n)!=EOF)
^
0_0_17353259_12448.cpp:121:34: error: 'printf' was not declared in this scope
printf("%d\n",money);
^
|