ENG
RUS
Timus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board
Discussion of Problem
2104
. Game with a Strip
Binary tree
Posted by
Mahilewets Nikita [BSUIR]
8 Oct 2017 10:10
You can build binary tree
Left child corresponds to inward fold
Right child corresponds to outward fold
Root is unfolded strip
Build tree from root to leaves and before going deeper check winning conditions
© 2000–2024
Timus Online Judge Team
. All rights reserved.