lazy_creature's submission of How Many Triangles | CodeChef