0_0_16386228_21814.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16386228_21814.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16386228_21814.cpp:4:8: error: no macro name given in #define directive
#define
^
0_0_16386228_21814.cpp:5:1: error: 'inf' does not name a type
inf 1000000000
^
0_0_16386228_21814.cpp: In function 'void add(int, int, int)':
0_0_16386228_21814.cpp:23:15: error: 'swap' was not declared in this scope
swap(a1,a2);
^
0_0_16386228_21814.cpp: In function 'int dmin(int, int)':
0_0_16386228_21814.cpp:40:5: error: expected ')' before 'return'
return y;
^
0_0_16386228_21814.cpp: In function 'void build(int, int)':
0_0_16386228_21814.cpp:50:32: error: 'scanf' was not declared in this scope
scanf("%d%d%d",&x,&y,&z);
^
0_0_16386228_21814.cpp: In function 'int sap(int)':
0_0_16386228_21814.cpp:65:10: error: 'inf' was not declared in this scope
flow=inf;
^
0_0_16386228_21814.cpp:68:5: error: expected ')' before '{' token
{
^
0_0_16386228_21814.cpp:76:24: error: 'k' was not declared in this scope
if (flow>e[k].val) flow=e[k].val;
^
0_0_16386228_21814.cpp:95:27: error: expected ')' before numeric constant
if (dis[v]0){t1=dis[v];cur[u]=i;}
^
0_0_16386228_21814.cpp: In function 'int main()':
0_0_16386228_21814.cpp:119:19: error: 'scanf' was not declared in this scope
scanf("%d",&tt);
^
0_0_16386228_21814.cpp:127:9: error: expected ';' before '{' token
{
^
0_0_16386228_21814.cpp:127:9: error: expected primary-expression before '{' token
0_0_16386228_21814.cpp:127:9: error: expected ')' before '{' token
0_0_16386228_21814.cpp:145:13: error: expected ';' before 'add2'
add2(w[j][0],w[j][1],w[j][2]);
^
0_0_16386228_21814.cpp:145:42: error: expected ')' before ';' token
add2(w[j][0],w[j][1],w[j][2]);
^
0_0_16386228_21814.cpp:161:39: error: 'printf' was not declared in this scope
printf("%d\n",ans1+dmin(t1,t2));
^
|