I thought about it...
i got it to work with one while loop...
basically, just needed to find the strategy for stan.
thanks guys for help
Search found 2 matches
- Fri Oct 25, 2002 9:45 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10368 - Euclid's Game
- Replies: 14
- Views: 7705
- Sat Oct 12, 2002 5:17 am
- Forum: Volume 103 (10300-10399)
- Topic: 10368 - Euclid's Game
- Replies: 14
- Views: 7705
10368 - Trying to figure out best strategy!
This seems like a very simple game, but I am getting stuck in finding a perfect strategy that both Stan and Ollie will use to win. If i always subtract the largest value made by multiples of the smaller number, from the bigger value of two numbers, it seems that I get the right result for some test ...