Rosetta Problems

Path with length k 2

https://marisaoj.com/problem/275