/in/foo.cc: In function 'int main()':
/in/foo.cc:31:44: error: 'xa' was not declared in this scope
cnt=minn[i];now=to[i];kk=2;flag=0;ans1=0;xa=minn[i];
^~
/in/foo.cc:31:44: note: suggested alternative: 'x0'
cnt=minn[i];now=to[i];kk=2;flag=0;ans1=0;xa=minn[i];
^~
x0
/in/foo.cc:34:44: error: 'xb' was not declared in this scope
else {cnt+=minn2[now];now=to2[now];kk=1;xb+=minn2[now];}
^~
/in/foo.cc:34:44: note: suggested alternative: 'x0'
else {cnt+=minn2[now];now=to2[now];kk=1;xb+=minn2[now];}
^~
x0
/in/foo.cc:37:6: error: 'xb' was not declared in this scope
if(xb==0&&t==0)
^~
/in/foo.cc:37:6: note: suggested alternative: 'x0'
if(xb==0&&t==0)
^~
x0
/in/foo.cc:37:13: error: 't' was not declared in this scope
if(xb==0&&t==0)
^
/in/foo.cc:9:8: warning: unused variable 'x' [-Wunused-variable]
int n,x,y,x0,d,maxx,kk,now,cnt=0,ans1;
^
/in/foo.cc:9:10: warning: unused variable 'y' [-Wunused-variable]
int n,x,y,x0,d,maxx,kk,now,cnt=0,ans1;
^