# Creating possibilites of a mathematical problem? [closed]

I need a help. plz go through this math problem http://www.codechef.com/AUG11/problems/IGAME/. I just need explanation of it. What i need is mathematic explanation of : "Alice now has four possible moves. Alice can move the vehicle to position (1, 4), (1, 3), (2, 3) and (2, 2)". I want to know the possibilities created out of the given condition.

-
Will you please make your question here more self-contained? –  Jonas Meyer Aug 3 '11 at 16:44
You have read the instructions? "Now, Alice and Bob have to drive the vehicle in their respective turn. In their own turn they can move the vehicle, from (x, y) to (x', y) or (x, y'); where p ≤ x' < x and q ≤ y' < y. They can also move the vehicle to the point (x-a, y-a), where 0 < a ≤ min(x-p, y-q). Also, 0 ≤ p < m and 0 ≤ q < n. The winner is the game is the one who drives the vehicle to (p, q)." Note that in the example, they start at (m,n)=(2,4), and (p,q)=(1,2). The rules then dictate those possible moves for Alice, just by checking all possibilities. –  Jonas Meyer Aug 3 '11 at 16:51