Rosetta Problems

Exactly K Triangles

https://atcoder.jp/contests/tkppc6-2/tasks/tkppc6_2_e