Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

n-1 if n is odd and n+1 if n is even

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Did c have any year 2000 problems?

1067


What is the total generic pointer type?

1110


Explain what is the benefit of using const for declaring constants?

970


the question is that what you have been doing all these periods (one year gap)

2024


hi any body pls give me company name interview conduct "c" language only

2234


Write a program to use switch statement.

1080


What is function in c with example?

1092


What is a pointer variable in c language?

1040


What is a rvalue?

1143


Differentiate between a structure and a union.

1233


Does c have function or method?

945


difference between Low, Middle, High Level languages in c ?

2031


How to explain the final year project as a fresher please answer with sample project

913


Differentiate between the expression “++a” and “a++”?

1207


What is c token?

1016