There is a regular convex polygon with n vertices. Each vertex is occupied by exactly n
Every monkey chooses to move to an adjacent vertex simultaneously. Each monkey independently chooses to move either in a clockwise direction or in a counterclockwise direction.
A collision takes place if at least
Return the number of movement configurations in which at least
Note: Each monkey moves at the same speed and only moves once.
Constraints:
n
There is a regular convex polygon with n vertices. Each vertex is occupied by exactly n
Every monkey chooses to move to an adjacent vertex simultaneously. Each monkey independently chooses to move either in a clockwise direction or in a counterclockwise direction.
A collision takes place if at least
Return the number of movement configurations in which at least
Note: Each monkey moves at the same speed and only moves once.
Constraints:
n