[VIEWED 126502
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
|
|
|
|
AznshawtY
Please log in to subscribe to AznshawtY's postings.
Posted on 02-15-07 2:57
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
13112221221 :D m a genius, i feel like such a nerd. :P jks jks
|
|
|
Slackdemic
Please log in to subscribe to Slackdemic's postings.
Posted on 02-15-07 3:02
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
Welcome to the show, you originator of this thread, but, that's not the right answer, miss! :D
|
|
|
AznshawtY
Please log in to subscribe to AznshawtY's postings.
Posted on 02-15-07 3:05
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
oh my i didnt even notice that i started this thread, :P o well atleast i tried being smart :D
|
|
|
Pretty
Please log in to subscribe to Pretty's postings.
Posted on 02-15-07 3:19
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
|
|
|
Pretty
Please log in to subscribe to Pretty's postings.
Posted on 02-15-07 3:20
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
|
|
|
Slackdemic
Please log in to subscribe to Slackdemic's postings.
Posted on 02-15-07 3:24
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
Sorry Pretty, but that's not right! Try to find the better connection!
|
|
|
Hi_nanu
Please log in to subscribe to Hi_nanu's postings.
Posted on 02-15-07 3:32
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
|
|
|
Pretty
Please log in to subscribe to Pretty's postings.
Posted on 02-15-07 3:33
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
Is this correct? I don't know if the formula I'm using is right. 31221131122211
|
|
|
Pretty
Please log in to subscribe to Pretty's postings.
Posted on 02-15-07 3:36
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
|
|
|
Slackdemic
Please log in to subscribe to Slackdemic's postings.
Posted on 02-15-07 3:42
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
Congratulation, Hi_Nanu! You got it right. It is not as complex as it seems. Only the setting of the number below is literally the "reading" of the number. Okay: 1 11 One one 21 Two one ========== ========== ========== 13112221 One one one three two one three twoone one
|
|
|
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
?
|
|
|
|