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
Can you write the algorithm for Queue?
How to write a multi-statement macro?
What will the preprocessor do for a program?
Can you mix old-style and new-style function syntax?
What is methods in c?
what are non standard function in c
i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none
how to build a exercise findig min number of e heap with list imlemented?
What is graph in c?
What are the types of type qualifiers in c?
Difference between malloc() and calloc() function?
What is New modifiers?
string reverse using recursion
What is the difference between abs() and fabs() functions?
What is meant by recursion?