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 / ghfhj erwe
0
Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
What is the scope of local variable in c?
What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file
What is ponter?
What are the uses of null pointers?
Is c programming hard?
What is a stream?
Describe the modifier in c?
Is c is a middle level language?
What is meant by keywords in c?
what type of questions arrive in interview over c programming?
What is const keyword in c?
What is the value of a[3] if integer a[] = {5,4,3,2,1}?
what will be maximum number of comparisons when number of elements are given?
How will you print TATA alone from TATA POWER using string copy and concate commands in C?
How many loops are there in c?