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 are stubs related to foxpro?
3. . Explain the Cache memory? What is the advantage of a processor having more cache memory?
cobol is execution r not without jcl
Is buffer size and file block size is similar? If similar,at which case it will be same size?
sample and simple coding where we get?
9. Read the function conv() given below conv(int t) { int u; u=5/9 * (t-32); return(u); } What is returned (a) 15 (b) 0 (c) 16.1 (d) 29
Hi guyes, I have cleared 2 technical rounds with cts for liferay and java techonologies, i have client round next week, please tell me how to prepare for this what questions i should be ready to face?
what is best way to create a Thread class & why?
What are scrubbing procedures in SAS
HOW TO BREAK THE FIREWALL?
What sysoption determines where the macro facility searches a specific catalog for complied macro?
What is the output of the following x = "abcdef" i = "a" for i in x: print(i), a) no output b) i i i i i i … c) a a a a a a … d) a b c d e f