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

i need answer for it

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How are Structure passing and returning implemented by the complier?

699


write a program in c language to print your bio-data on the screen by using functions.

6233


What are header files and explain what are its uses in c programming?

594


Is there a way to compare two structure variables?

607


What is mean by data types in c?

538






What is external variable in c?

601


What are shell structures used for?

588


Explain the meaning of keyword 'extern' in a function declaration.

707


What are extern variables in c?

537


What is a string?

654


What are directives in c?

535


The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?

649


How to establish connection with oracle database software from c language?

1658


Explain what is a const pointer?

627


What's the total generic pointer type?

604