Dividing Triangle

Limits: 1s, 1.0 GB

You will be given an isosceles right angled triangle. The legs of the triangle have a length of L and lies along the positive X axis and Y axis. You can assume that the coordinates of the three vertices of the triangle are (0, 0), (L, 0) and (0, L).


This is a companion discussion topic for the original entry at https://toph.co/p/dividing-triangle