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 |
I am looking for selenium RC online Training in chennai. can any one tell me the best institute
how to generate dsnless connectivity in j2ee
what diffrence between procedure and function?
what are stubs related to foxpro?
How does the TCP handle the issue of multiplexing?
DIFFERENCE BETWEEN BINDING LANG AND BIND DIR WHEN USING IN SERVICE PGM
I am work in it aompenei
Is anyone has done the ASP.NET MVC4 workshop course(2 days) from Peers Technologies. Let me know. I need to talk before joining ASP.NET MVC4 training at peers, Hyderabad.
WS-NUM PIC S9(05)V(02) SIGN TRAILING SEPARATE MOVE '0050000+' TO WS-NUM The value stored is 00500,00+ MOVE '0050000-' TO WS-NUM Then what is the value will be stored in WS-NUM? Am getting '-00500,00'.....>>> What should I declare to WS-NUM so that I can get correct values for both + & - signs.
what type of exceptions & problems are faced in production time at java technology?
Give examples of macro quoting function?
In OB52 , How to define two open posting period, Like only 5 and 8 posting should be open.. should not open 6 and 7..period..