Number of triangles

Problem Name:
Number of triangles
Site:HackerEarth
Links:
Tags:
Problem setters: