|
[VIEWED 246095
TIMES]
|
SAVE! for ease of future access.
|
|
|
|
|
|
AznshawtY
Please log in to subscribe to AznshawtY's postings.
Posted on 01-16-07 9:53
AM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
| |
A doctor in Michigan has a sister who lives in California but the sister does not have any brother that lives in Michigan, how come?? :P
|
| |
|
|
|
|
Slackdemic
Please log in to subscribe to Slackdemic's postings.
Posted on 02-15-07 3:45
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
| |
Oops, didn't post it right: 1 this is one 1 so, 11 11 is two one so, 21 it goes on ========== ========== ========== 13112221 One one one three t wo one three two one one
|
| |
|
|
Hi_nanu
Please log in to subscribe to Hi_nanu's postings.
Posted on 02-15-07 3:45
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
| |
public class Counting { public static void main(String[] args) { String firstTerm = args[0]; int index = Integer.parseInt(args[1]) - 1; printSequence(firstTerm,index); } public static void printSequence(String term,int index) { System.out.print(term+" ,"); String firstTerm = term; for (int i=0;i { String tempSeq = howMany(firstTerm); if(i!= index-1) System.out.print(tempSeq+" , "); else System.out.print(tempSeq); firstTerm = tempSeq; } } public static String howMany(String temp) { String modTemp = temp.concat("x"); String seq = new String(); int start = 0,measure = 1; while(start < modTemp.length()-1) { if(modTemp.charAt(start) == modTemp.charAt(start+1)) { measure++; start++; } else { seq += ""+measure+modTemp.charAt(start); measure = 1; start++; } This program may work
|
| |
|
|
Pretty
Please log in to subscribe to Pretty's postings.
Posted on 02-15-07 3:47
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
| |
1113213211 isn't hi_nanu's and my answers are same up there? You said mine was not right..
|
| |
|
|
Slackdemic
Please log in to subscribe to Slackdemic's postings.
Posted on 02-15-07 3:49
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
| |
Oh! Are you into Java, Hi_Nanu? and you used the program to solve that?
|
| |
|
|
Hi_nanu
Please log in to subscribe to Hi_nanu's postings.
Posted on 02-15-07 3:49
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
| |
Yes,My answer was same as Pretty's ...In fact she answered first.
|
| |
|
|
Hi_nanu
Please log in to subscribe to Hi_nanu's postings.
Posted on 02-15-07 3:51
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
| |
No Slackdemic..I know a bit of programming language...but this was not me who wrote it ,just pulled it from google... Thanks to google(My best friend)
|
| |
|
|
Slackdemic
Please log in to subscribe to Slackdemic's postings.
Posted on 02-15-07 3:52
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
| |
Pretty, I am sorry. Apparently, I didn't see your posting after the your posting (the corrected one) and kept missing it. You are the first person to answer this! :) If you have similar questions or anything that is interesting, you should ask us, too!
|
| |
|
|
Guest4
Please log in to subscribe to Guest4's postings.
Posted on 02-15-07 4:23
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
| |
Let's talk about *real* puzzle now! :) This is bit rigorous, but quite an interesting puzzle. And yeah....the question is right! I checked few times. :-D Here it goes: ==== Ram and Shyam sit down for the final round interview at a reputed firm in New York. To distinguish one from the other between these two equally competitive gentlemen, the interviewer agrees to give the job to the guy who first answers his puzzle. There is no time pressure. Interviewer: The rectangle I am thinking of has integer sides, each of which is greater than one inch. However, the perimeter of the rectangle is less than 80 inches. (Then, he whispers the total area to Ram and the total perimeter to Shyam. They are not allowed to tell what they just heard. ) Interviewer: What are the dimensions of this rectangle? After thinking for a while: Ram: Dyam!!.…I have no idea what the perimeter is. Shyam: I knew you were going to say that. However, I don’t know what the area is. Ram: Still no clue as to the perimeter…. Shyam: But now I know what the area is! Ram: And I know what the perimeter is! Now, you tell me what are the dimensions of that rectangle? ------
|
| |
|
|
Slackdemic
Please log in to subscribe to Slackdemic's postings.
Posted on 02-15-07 4:50
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
| |
Real question's * Real* solution: Area = 52 Perimeter = 34 Therefore, dimensions 13 and 4.
|
| |
|
|
Guest4
Please log in to subscribe to Guest4's postings.
Posted on 02-15-07 8:28
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
| |
|
|
| |
|
|
Swatantratagaamy
Please log in to subscribe to Swatantratagaamy's postings.
Posted on 02-16-07 9:02
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
| |
Huuuhh just guessing 19 and 20.
|
| |
|
|
Guest4
Please log in to subscribe to Guest4's postings.
Posted on 02-17-07 9:21
AM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
| |
No. The probability of getting the correct answer by random guessing is less than 0.0029. So, random guessing is as futile as anything.
|
| |
|
|
meek_misfit
Please log in to subscribe to meek_misfit's postings.
Posted on 02-17-07 1:17
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
| |
|
|
| |
|
|
slowPoison
Please log in to subscribe to slowPoison's postings.
Posted on 02-17-07 2:17
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
| |
Answer Plz...................
|
| |
|
|
Guest4
Please log in to subscribe to Guest4's postings.
Posted on 02-17-07 2:23
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
| |
meek_misfit....almost there!!. One of them is the answer while the other one isn't. Care to share how you came down to those two possible solutions?
|
| |
|
|
Swatantratagaamy
Please log in to subscribe to Swatantratagaamy's postings.
Posted on 02-17-07 3:18
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
| |
By crossing Slacdemic and Meek misfit, the answer is 5 and 6, but how? I still did not get it. Are the once inch apart?
|
| |
|
|
Guest4
Please log in to subscribe to Guest4's postings.
Posted on 02-17-07 3:40
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
| |
"By crossing Slacdemic and Meek misfit, the answer is 5 and 6, but how? I still did not get it. Are the once inch apart? " I liked the way how you got to the answer. I did not realize that Slack had 4 x13 too. No, the dimensions do not necessarily have to be one inch apart. That is not given. I will wait for meek or even slack to tell how they got what they got.
|
| |
|
|
meek_misfit
Please log in to subscribe to meek_misfit's postings.
Posted on 02-17-07 10:04
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
| |
Ram has many combinations of l and b for his value of area. Shyam's value of perimeter cannot be the same value that can be derived from the value of area that Ram knows. Hence, by hit and error method, eliminate the combinations that matches l and b from Ram's area and Shyam's perimeter. It can again be construed that by whatever Ram knows, two prime integers that produces the area value is not possible. Alternatively, the value of l and b cannot be the product of two prime numbers in A= l x b.Otherwise, it would have been possible for Ram to know the value of (l+b) and decode the value of parimeter in 2(l+b).Again, Shyam also knows that the sum of two prime integers cannot be used to find (l+b) though he knows the value of parimeter as a whole. Had it been true, Shyam would have known that Ram knows (l+b). The limitations are: l>b>1 P<=80 (l+b)<=40 The least possible combinations can be that of 2 and 3. But that is not possible since those two are prime numbers again. Hence lets start from integer 4 ( which is not prime): The values of (l+b) can be either 11, 17, 23, 27, 29 35 or37. Iteratively, break all these numbers by hit and trial of (l+b) and (lxb). You will come to 5x6 as the obvious answer.Also, Area = 30 and Perimeter = 22.
|
| |
|
|
Slackdemic
Please log in to subscribe to Slackdemic's postings.
Posted on 02-18-07 4:43
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
| |
Considering the letters below, they represent an addition problem. Different letters stand for different digits (chosen from among 0, 1, 2, ...,9). Two occurrrences of the same letter stand for the same digit. Identify all the digits of this addition problem L E T S W A V E ---------- L A T E R
|
| |
|
|
ritthe_jasus
Please log in to subscribe to ritthe_jasus's postings.
Posted on 02-18-07 5:31
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
| |
slackdemic, L, A and E appears more tha 1 times, does all letters represend distinct numbers ???
|
| |