Question d’entretien chez General Motors (GM)

Distance between some points. Parsing standard input