Your code fails on one of the test cases like 5H 6H 7H 8H 9H. it should give "straight flush "instead of " flush", Think of all such cases are change accordingly ..
On Mon, Jun 18, 2012 at 10:01 PM, Mayank Singh <[email protected]> wrote: > it also ran successfully on ideone.com > plz help me > i am classifying the card in two parts: > one with same suit > and other with different suit... > > plz let me know if futher explanation is needed abt the code > > help me regarding this...... > thanx > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
