0_0_17079098_6989.cpp: In function 'double getdis(int, int)':
0_0_17079098_6989.cpp:62:23: error: 'c1' was not declared in this scope
return sqrt((city[c1].x-city[c2].x)*(city[c1].x-city[c2].x)+(city[c1].y-city[c2].y)*(city[c1].y-city[c2].y));
^
0_0_17079098_6989.cpp:62:34: error: 'c2' was not declared in this scope
return sqrt((city[c1].x-city[c2].x)*(city[c1].x-city[c2].x)+(city[c1].y-city[c2].y)*(city[c1].y-city[c2].y));
^
|