Limits: 1s, 512 MB
Alice and Bob are playing a game with a tree with n nodes. Alice always plays first, and the two players move in alternating turns.
This is a companion discussion topic for the original entry at https://toph.co/p/a-boring-game
Limits: 1s, 512 MB
Alice and Bob are playing a game with a tree with n nodes. Alice always plays first, and the two players move in alternating turns.