TRIANGLEPATH, https://algospot.com/judge/submission/detail/223682