## Hackerrank - Compute the Perimeter of a Polygon

**Warning**: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in

**/data/a/b/abebc507-bf25-4cf8-8cfa-a3d31b5acb3d/pidanic.com/web/wp-content/plugins/latex/latex.php**on line

**47**

**Warning**: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in

**/data/a/b/abebc507-bf25-4cf8-8cfa-a3d31b5acb3d/pidanic.com/web/wp-content/plugins/latex/latex.php**on line

**49**

Hackerrank - Problem Statement A description of the problem can be found on Hackerrank. Solution Calculate a length of a line between each pair of following points p, defined with x and y coordinate: (p0, p1), (p1, p2), ..., (pn-1, p0) Length of a line between two points: Make sum of the lengths. I created […]