I am programming a program which calculate two points with the longest distance among one million points. So firstly I wrote some codes as below :
private voi