Problem #PRU-86556

Problems Algorithm Theory Methods Invariants and semi-invariants Game theory Invariants Game theory (other) Discrete Mathematics

Problem

There are three piles of rocks: in the first pile there are 10 rocks, 15 in the second pile and 20 in the third pile. In this game (with two players), in one turn a player is allowed to divide one of the piles into two smaller piles. The loser is the one who cannot make a move. Which player would be the winner?