比赛链接:2016 ICPC Mid-Central USA Region
题目链接:Windy Path
Description
Consider following along the path in the figure above, starting from RLL
. Notice that the path does not cross itself: the only intersections of segments are the connection points along the path.
Consider the reverse problem: Given points in an arbitrary order,say RLL
? Of course to follow the path in the figure,you would start with the third point in the list