There are N egg baskets and the number of eggs in each
basket is a known quantity. Two players take turns to remove
these eggs from the baskets. On each turn, a player must
remove at least one egg, and may remove any number of eggs
provided they all belong to the same basket. The player
picking the last egg(s) wins the game. If you are allowed to
decide who
is going to start first, what mathematical function would
you use to decide so that you end up on the winning side?
Answer Posted / guest
if anyone knows do reply me to this answer.....
| Is This Answer Correct ? | 0 Yes | 6 No |
Post New Answer View All Answers
Why does this code crash?
How can I do serial ("comm") port I/O?
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
What is difference between far and near pointers?
the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b
How variables are declared in c?
Why n++ execute faster than n+1 ?
Explain the array representation of a binary tree in C.
What are comments and how do you insert it in a C program?
What are multibyte characters?
What is bubble sort in c?
How is a pointer variable declared?
Write a simple code fragment that will check if a number is positive or negative.
Give differences between - new and malloc() , delete and free() ?
Can we add pointers together?