0_0_25643102_5829.cpp: In function 'void addedge(int, int, int)':
0_0_25643102_5829.cpp:13:4: error: 'tot' was not declared in this scope
G[tot]=(Edge){head[x],y,v};
^
0_0_25643102_5829.cpp:13:16: error: 'head' was not declared in this scope
G[tot]=(Edge){head[x],y,v};
^
|