Rosetta Problems

C. Almost Tree Cut

https://kilonova.ro/problems/1889