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


Please Help Members By Posting Answers For Below Questions

What is the scope of local variable in c?

578


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

668


What is ponter?

773


What are the uses of null pointers?

590


Is c programming hard?

576






What is a stream?

651


Describe the modifier in c?

603


Is c is a middle level language?

597


What is meant by keywords in c?

618


what type of questions arrive in interview over c programming?

1558


What is const keyword in c?

749


What is the value of a[3] if integer a[] = {5,4,3,2,1}?

671


what will be maximum number of comparisons when number of elements are given?

1410


How will you print TATA alone from TATA POWER using string copy and concate commands in C?

920


How many loops are there in c?

582