Re: [algogeeks] Re: apti????
@ htross ;bcz for the 6 bells there is a gap of 5 intervals (1-- 2-- 3-- 4-- 5-- 6) 12 3 45 (intervals) so for the 5 intervals it takes 30 sec similarly for 12 rings we have 11 intervals so we get 66 sec for that -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
Re: [algogeeks] Re: apti????
1->2,2->3,3->4,4->5,5->6 1 2 3 4 5 30/5=6 per tick similarly for 12..we will have 11 * 6 = 66 On Wed, Aug 31, 2011 at 11:19 PM, htross wrote: > how did u do it??? > > On Aug 31, 10:46 pm, annarao kataru wrote: > > it takes 66 sec after 12correct me if i am wrong > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algogeeks@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > > -- *Dheeraj Sharma* Comp Engg. NIT Kurukshetra +91 8950264227 -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
[algogeeks] Re: apti????
how did u do it??? On Aug 31, 10:46 pm, annarao kataru wrote: > it takes 66 sec after 12 correct me if i am wrong -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
[algogeeks] Re: apti!
whom are u pointing at. On Aug 26, 11:57 pm, Dheeraj Sharma wrote: > ans is 20 > > *Stop Cramming Start Thinking* > -- > *Dheeraj Sharma* > Comp Engg. > NIT Kurukshetra > +91 8950264227 -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
[algogeeks] Re: Apti
nice prakash. Algorithm is definitely better than brute force. But here is brute force anyway, just go from 2 to square root of n ;P I initially misread it and thought you were asking for ANY {c,d} set in which c,d are factors of n (but not necessarily c*d = n) . That wouldve been all of the factors (12) , choose 2, unless I am mistaken. 12 nCr 2 = 66. #!/usr/bin/ruby -w #how many unique sets {a,b} can be formed if a,b are factors of N and axb=N # N = 24*33 n=792 #factors = [2,2,2,3,3,11] #results res=['1x792'] 2.upto(Math.sqrt(n)) {|c| next unless (c&1).zero? || c%3==0 || c%11==0 res< wrote: > sorry I wrote them in different order: > if (a,b) and (b,a) are considered same then answer is 12 > and if they are considered different it is 24. > > -- > Nikhil Gupta > Indian Institute of Technology Roorkee, > Roorkee, Uttarakhand, > India , 247667 > Phone: +91 9634990161 > email: nikgp...@iitr.ernet.in > nikhilg.8...@gmail.com -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
Re: [algogeeks] Re: apti!
@dave: thanks! I solved similarly Was a little confused when i got fraction. Can you plz suggest a good book to improve quant?? -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
[algogeeks] Re: apti!
@Priya: If 2/3 of the games is 20, then the total number of games is 30. Since 3/4 of 30 is 22.5, to win 3/4 of those 30 games, the team must win 23. That means the team can lose no more than 7. Since the team already has lost 3, it can lose up to 4 of the remaining 10 games. Dave On Aug 23, 9:22 am, priya ramesh wrote: > Out of two thirds of the total number of basket -ball matches, a team has > won 17 matches and lost 3 of them. What is the maximum number of matches > that the team can lose and still win three -fourths of the total number of > matches, if it is true that no match can end in a tie? [1] 4 [2] 6 [3] 5 [4] > 3 -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
[algogeeks] Re: apti! solve this!
Are we assuming a flat earth? On Aug 17, 9:13 am, priya ramesh wrote: > A moves 3 kms east from his starting point . He then travels 5 kms north. > From that point he moves 8 kms to the east.How far is A from his starting > point? -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
[algogeeks] Re: apti! solve this!
If the moves had been 3 km east, 5 km north, and 9 km east (instead of 8), the answer would have been 13. Dave On Aug 17, 9:25 am, priya ramesh wrote: > the answer is given as 13... even i got root(146) -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.