1,246 views
1 1 vote
Let us consider the following 2-person game: the players alternately choose a number. The first player starts with a number between 1 and 10, and the players then pick up a number within the next ten of the number that his opponent has chosen earlier. The player who is able to select the number 100 first, wins the game. Can the first player pick up a number between 1 and 10 such that whatever may be the strategy of his opponent, the first player will be able to reach 100 first?

1 Answer

1 1 vote
The first person to pick 100 wins => First person to pick 89 wins.

Player x picks 89 means player y is forced to pick from (90-99) , following which Player x can pick 100.

 

First person to pick 89 wins => First person to win 78 wins

First person to pick 78 wins => First person to win 67 wins

.

.

First person to pick 23 wins => First person to win 12 wins

First person to pick 12 wins => First person to pick 1 wins.

 

Since player 1, i.e. the first person to start picking can obviously pick 1, he can win the match.

 

.

.

.
edited by
Position:
Show:

Related questions

1 1 vote
1 1 answer
631
631 views
rsansiya111 asked Feb 28, 2022
631 views
Five men A, B, C, D, E are wearing caps of black or white color without each knowing the color of his cap. It is known that a man wearing a white cap will always speak th...
1 1 vote
1 1 answer
699
699 views
rsansiya111 asked Feb 20, 2022
699 views
Give a strategy to sort four distinct integers a, b, c, d in increasing order that minimizes the number of pairwise comparisons needed to sort any permutation of a, b, c,...
0 0 votes
1 1 answer
721
721 views
gatecse asked Dec 9, 2020
721 views
Match the following:$$\begin{array}{|l|l|l|l|} \hline (1) \text{Waterfall model} & (a) \text{Specifications can be developed} \\& \text{incrementally} \\\hline (2) \tex...
8 8 votes
1 answers 1 answer
7.4k
7.4k views
sh!va asked May 7, 2017
7,394 views
Estimation at software development effort for organic software in basic COCOMO is:E = 2.0 (KLOC) 1.05 PME = 3.4 (KLOC) 1.06 PME = 2.4 (KLOC) 1.05 PME = 2.4 (KLOC) 1.07...