#P9153. Spanning Tree Game

Spanning Tree Game

Source: Super League of Chinese College Students Algorithm Design 2022, Contest 3 by Claris.