0_0_15071353_24033.cpp: In function 'double getShort(int, int)': 0_0_15071353_24033.cpp:60:28: error: 'tmpt' was not declared in this scope double d3 = getDistance(tmpt[i],tmpt[j]); ^