Objective
Write a program that computes the shortest closed route through a set of two-dimensional points.
Steps
$ printf '0, 0\n2, 0\n2, 1\n0, 1\n' | ./route_loop_length | cat -e
6.00$
$ printf '0, 0\n3, 4\n' | ./route_loop_length | cat -e
10.00$
Expected files
Allowed functions

Objective
Write a program that computes the shortest closed route through a set of two-dimensional points.
Steps
$ printf '0, 0\n2, 0\n2, 1\n0, 1\n' | ./route_loop_length | cat -e
6.00$
$ printf '0, 0\n3, 4\n' | ./route_loop_length | cat -e
10.00$
Expected files
Allowed functions

Tests
Run the tests to grade your code