Two plavers P1 and P2 play the following game: n cards are put on the table face down in a circleOriginally every card overlaps with two neighboring cards as shown on the picture below Let us continu
If there are an even number of cards, then P1 can always win by taking the two neighboring cards of any chosen card on their first turn. This leaves an odd number of cards, and P1 can always ensure that they take the last card by copying P2's moves on each turn.
If there are an odd number of cards, then P2 can always win by copying P1's moves on each turn. This is because P2 will always have one more turn than P1, and can ensure that they take the last card.
Therefore, if you play P1, choose to start if there are an even number of cards and choose to go second if there are an odd number of cards. If you play P2, choose to start if there are an odd number of cards and choose to go second if there are an even number of cards. By following these strategies, you can ensure that you will always win the game
原文地址: http://www.cveoy.top/t/topic/cgew 著作权归作者所有。请勿转载和采集!