0_0_35135913_26587.cpp: In function 'double dist(int, int)': 0_0_35135913_26587.cpp:14:76: error: 'returnsqrt' was not declared in this scope returnsqrt((double)(xx[a]-xx[b])*(xx[a]-xx[b])+(yy[a]-yy[b])*(yy[a]-yy[b])); ^