Rosetta Problems

Triangles counting

https://marisaoj.com/problem/488