olymmath

OMCPLP 2019 Problem 6

  • Day 2

Two players Arnaldo and Betania play alternately, with Arnaldo being the first to play. Initially there are two piles of stones containing xx and yy stones respectively. In each play, it is possible to perform one of the following operations:

  1. Choose two non-empty piles and take one stone from each pile.
  2. Choose a pile with an odd amount of stones, take one of their stones and, if possible, split into two piles with the same amount of stones. The player who cannot perform either of operations 1 and 2 loses. Determine who has the winning strategy based on xx and yy .

Dataset text AI-MO AoPS. Quoted with source.

Solutions

No solution is on olymmath yet. Official and human solutions come first when they arrive. AI solutions come after them, with a label.

Add a solution

Similar problems

These problems have the most words in common with this statement.

Locator lusophon/2019/p6 · Tag 39XV4A7FK5 · Edit this page on GitHub · Keys: j next, k previous