[poj2484] A Funny Game (symmetric game)

Source: Internet
Author: User

Title: http://poj.org/problem?id=2484

Test instructions: N a stone around a circle, two people take turns, each time can take a stone or adjacent to the two stones, ask the first win or the next win

Analysis:

A typical symmetric game

If n>=3, then no matter how the choice, the hand can choose a way to make the remaining two is the same length of the chain, then regardless of how the operation of the next, as long as in the later game to take the same symmetrical operation, will be able to let the opponent lose

[poj2484] A Funny Game (symmetric game)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.