Rosetta Problems

Counting Triangles 2

https://oj.vnoi.info/problem/kkkct2