[algogeeks] Re: reversing strings using array

2007-06-18 Thread chaman
Well Reversing the array i.e. reversing the sequence of words in an array can be done as below : 1. Reverse the whole string i.e. reverse the sequence of alphabets : dlrow olleh 2. Reverse the words independently now i..e apply the step 1 on sub arrays that are enclosed between 2 blank spaces.:

[algogeeks] Problem with conditional statement

2007-06-18 Thread mukesh tiwari
Hi everybody i am trying to solve problem http://acm.uva.es/p/v105/10512.html. my solution is (x+y)y=P(1) (x-y)x=Q (2) (1+(y/x))xy=P (1)//taking x outside (1-(y/x))x^2=Q (2) dividing 1 and 2 and let (y/x)=k (1+k)k/(1-k)=P/Q; solving for k k=-(P+Q) +-sqrt((P+Q)^2+4PQ)/2Q; since

[algogeeks] Re: Problem with conditional statement

2007-06-18 Thread Dhyanesh (ધયાનેશ)
It says If there is more than one solution print the pair with smaller X value. Also I believe for a value of X only one of the 2 Y values might work, not sure though. -Dhyanesh On 6/18/07, mukesh tiwari [EMAIL PROTECTED] wrote: Hi everybody i am trying to solve problem

[algogeeks] Re: DANGEROUS SITUATION

2007-06-18 Thread Victor Carvalho
I don't understand your messages. It's not related to the group meaning. Why anybody ban this user? 2007/6/17, Sophia Jayann [EMAIL PROTECTED]: This mother is very courageous. Watch it at http://www.amusingclip.com/?vID=1181899263

[algogeeks] [EMAIL PROTECTED] has invited you to have a 3D avatar chat

2007-06-18 Thread Dhruva
From: Dhruva Avatar: Guest_DhruvaSagar To: Algogeeks