CF 1994F - Stardew Valley

Codeforces 1994F: Stardew Valley

CF 1994F - Stardew Valley

Rating: 2500
Tags: constructive algorithms, dfs and similar, graphs, trees
Solve time: 2m 32s
Verified: no

Solution