We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
scince it is an equilateral triangle all straight lines drawn from each vertex to the middle of the opposite side is also a height.Pay attention on the directions formed by the divisions,parallel segments will help to count those triangles.It is not possible to find a close formula for this problem
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #163: Cross-hatched triangles
You are viewing a single comment's thread. Return to all comments →
scince it is an equilateral triangle all straight lines drawn from each vertex to the middle of the opposite side is also a height.Pay attention on the directions formed by the divisions,parallel segments will help to count those triangles.It is not possible to find a close formula for this problem