Alice and Bob play the following coins-on-a-stack game. 20
coins are stacked one above the other. One of them is a
special (gold) coin and the rest are ordinary coins. The
goal is to bring the gold coin to the top by repeatedly
moving the topmost coin to another position in the stack.
Alice starts and the players take turns. A turn consists of
moving the coin on the top to a position i below the top
coin (0 = i = 20). We will call this an i-move (thus a 0-
move implies doing nothing). The proviso is that an i-move
cannot be repeated; for example once a player makes a 2-
move, on subsequent turns neither player can make a 2-move.
If the gold coin happens to be on top when it's a player's
turn then the player wins the game. Initially, the gold
coinis the third coin from the top
Answer Posted / jothi prasanna
move should be a 1 move
| Is This Answer Correct ? | 89 Yes | 11 No |
Post New Answer View All Answers
THERE ARE 3 MIXTURES WHEN MIXED IN THE RATIO OF 3:4:5 PRICE WAS 240.WHEN MIXED WITH 6:4:9 PRICE WAS 340.WHAT'S THE PRICE WHEN MIXED IN 5:6:8 RATION PRICE IS
Six squares of same dimension are kept side by side to make a rectangle with a perimeter of 182 cm. what is the perimeter of each square.
5 thieves stole diamonds in following way 1st stole half +2 2nd remaining half +2. for 5th there was no diamond how many diamond were there initially
No of financial emergency announced by president
what ia tha c++ code to find the position of prime numbers in prime number series??
k, l are men who take home a salary of x, y respectively.the total amount taken home is
what is the exact qualifing marks for group 1 prelims
A tiffin box manufacturer reduces the price of his school kids' tiffin from Rs.30/- to Rs.28/- per tiffin and the price of regular tiffin from Rs.24/- to Rs.23/- per tiffin. A caterer normally spends Rs.1440/- a month for tiffin and 3/4 of this is for regular tiffin. How much will they save a month under the new prices?
Find the next three terms of the series; 1, 4, 9, 18, 35 - - - - -
In a helpful book on the indexing and searching of text-based electronic files, a well-respected computer scientist differentiated _____________________ search efficiently using augmented inverted indices. latent semantic indexing, which is a technique designed to analyze relationships among the words within documents, with vector space models, which can between latent semantic indexing, which is a technique designed to analyze relationships among the words within documents, and vector space models, which can between latent semantic indexing, which is a technique designed to analyze the relationships among words within documents, with vector space models, which can latent semantic indexing, which is a technique designed to analyze the relationships among words within documents, and vector space models, which can
Price of product is reduced by 30%. What % should be increased to make it 100 % ?
Find sqrt of 113 up to 3 decimal places.
A batsman scored 120 runs including 16 fours and 2 sixes. What percentage of his total score did he make by running between the wickets?
A person with some money spends1/3 for cloths, 1/5 of the remaining for food and 1/4 of the remaining for travel. He is left with Rs 100/- . How much did he have with him in the beginning ?
in a school for a student out of a 100 he got 74 of average for 7 subjects and he got 79 marks in 8th subject. What is the average of all the subjects?