The final battle occurs in an interesting
manner. Scar knows he can't defeat Simba,
so he runs and hides in a cave. The cave
was built by Simba's ancestors, and Simba
must solve a final riddle to open the cave,
which is as follows.
Let there be a new chess piece known as
the king rook. This piece moves like a rook,
but like the King, it could move only one
square in the horizontal and vertical
directions. There is one more constraint,
that suppose in a move if the king rook
moved to the left or right square then whenever it is moved again it has to move
to the up or down square, and vice-versa.
Suppose there is a chessboard of the order
101xm. Simba chooses an integer k from
the set {1,2,3,4... 101xm} blindfolded.
Simba places these k king rooks on the
board( optimally). In every turn, Simba has
to move every king rook to one
square(explanation: moving each and every
king rook exactly once to a valid empty
square one by one will be considered as a
turn. Moving one king rook is not considered
as a turrn, moving every king rook is
considered ac a turn) If after a certain considered as a turn). If after a certain
number (possibly zero) of turns Simba is not
able to make a complete turn then he is
unsuccessful. If the turns continue forever
then Simba is said to be successful.
Suppose x is the value of the maximum
possible k from the set so that Simba is
always successful. And y is the number of
squares left after placing the x king rooks(i.e.
y=101xm-x). Now, Simba must play the
puzzle for each m from the following set
{101, 103, 105....117, 119}. Find the sum of
all y for all the different values of m? (ln
every turn Simba moves the king rooks in anSimba is able to crack the riddle and
banishes Scar from the kingdom. The other
lions are able to fight off the hyenas, letting
them live with the condition that the hyenas
must never come out of the graveyards.
Simba becomes the king, and peace is
restored in the Pride Lands.
options
1090
2090
1080
2100
Answers
Answered by
7
Answer:
1090
Step-by-step explanation:
is the correct answer for pride l
Similar questions
Math,
3 months ago
English,
3 months ago
Science,
7 months ago
Accountancy,
7 months ago
Social Sciences,
11 months ago
Math,
11 months ago