Problem #PRU-30448

Problems Discrete Mathematics Algorithm Theory Game theory Symmetric strategies

Problem

There are two piles of rocks: one with 30 rocks and the other with 20 rocks. In one turn a player is allowed to take any number of rocks but only from one of the piles. The loser is the player who has no rocks left to take. Who would win in a two player game, if the right strategy is used?