Results 1 to 10 of 10

Thread: race

  1. #1
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    race

    A race is going on. 5 persons participating the race.

    In how many ways the participants cross the finishing line including ties ?

    (For Example, if 2 people participating then there are three ways to finish the race.
    1. first person win, second runner
    2. second person win, first runner
    3. both of them finished at the same time ie. tie )

    ------------------
    suresh


  2. #2
    Expert Member
    Join Date
    Jan 2007
    Answers
    272

    Re: race

    Is it 14521??


  3. #3
    Expert Member
    Join Date
    Jan 2007
    Answers
    272

    Re: race

    sorry my answer is wrong!!


  4. #4
    Expert Member
    Join Date
    Jan 2007
    Answers
    272

    Re: race

    the answer is 285


  5. #5
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    Re: race

    no smart coder....it's also wrong..

    ---------------
    suresh


  6. #6
    Expert Member
    Join Date
    Jan 2007
    Answers
    272

    Re: race

    i know...i miscalculated!!
    i m working on P&C


  7. #7
    Expert Member
    Join Date
    Oct 2005
    Answers
    383

    Re: race

    i think the ans should be, though not sure

    135


    right?

    bye

    :)
    NEVER SAY DIE.

  8. #8
    Expert Member
    Join Date
    Jan 2007
    Answers
    272

    Re: race

    is it 541??


  9. #9
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    Re: race

    hi smart coder,

    541 is the correct answer...leave your solution here...

    ----------------
    suresh


  10. #10
    Expert Member
    Join Date
    Jan 2007
    Answers
    272

    Re: race

    ok..its a detailed solution...i used P&C ..but did some mistakes earlier but finally got correct solution
    Its a long solution
    I would break the solution in 5 parts
    part1: Only first position is secured(1st)
    This means all sprinters reached finished line at the same time
    there could be only 1 way for this

    part2: Only two position secured(1st and 2nd)

    5c1 + 5c2 + 5c3 + 5c4 = 30

    part3: Only three position secured(1st ,2ndand 3rd)

    5c1(4c1+4c2+4c3) + 5c2(3c1+3c2) + 5c3(2c1) = 150

    part4: Only four position secured(1st ,2nd, 3rd and 4th)

    5c1[4c1(3c1 + 3c2) + 4c2(2c1)] + 5c2[3c1(2c1)] = 240

    part5: All positions secured

    5! = 120

    1+30+150+240+120 = 541


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact