/in/foo.cc: In function 'void Prim()':
/in/foo.cc:24:6: warning: unused variable 'tot' [-Wunused-variable]
int tot=0;
^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:95:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(b[1]>b[tot]||b[tot]>b[tot-1])continue;int v=0;
^~
/in/foo.cc:95:45: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(b[1]>b[tot]||b[tot]>b[tot-1])continue;int v=0;
^~~
/in/foo.cc:95:49: error: redeclaration of 'int v'
if(b[1]>b[tot]||b[tot]>b[tot-1])continue;int v=0;
^
/in/foo.cc:88:8: note: 'int v' previously declared here
int v=0;
^