you have an unlimited supply of $3 and $7 poker chips. What
is the largest integer value that you cannot make by
combining different numbers of chips?
Answers were Sorted based on User's Feedback
Answer / siberian
If you can make N with 3 and 7, then you can make all N+12,
N+13, N+14, ..., etc. The numbers that can't be made with 3
and 7 are 1, 2, 4, 5, 8, 11. Thus the max number that can't
be created is 11.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / orenise
Assume that the max integer value is (2^31 - 1)=2,147,483,647
then the answer is 2,147,483,646 since it is impossible to
have an even number created just from 3 and 7.
| Is This Answer Correct ? | 2 Yes | 7 No |
what is encapulation?
what is inprocess and outprocess in vb
I have try to write a record in a TDQ from a fle.... what are the steps to do... can anybody plz come with a solution
when we use mantis? how learn mantis?
in cobol,wat is the difference in using 'set index in occurs clause' ....and 'occurs depending-on clause'
will it allow to add same value in HashMap class.
What is the use of sas software? Is sas and sap are different?
what is the difference between primary key and unique key?
How to update a data for the views in the relational data base schema
can we allocate memory for interface? if no then why?
Write a shell program where you enter a number which corresponds to K.M. Find out the corresponding values in m, cm, inches, and feet. Hints:- 1 k.m= 1000 m 1 m= 100 cm 1 inches= 2.54 cm. 1 feet= 12 inches
what is integration testing in real time applications?