@Rahul, What purpose is served by wasting the shot? If C shoots at A or B, at least some probability that C is dead in future will be reduced.
On Sat, Jan 1, 2011 at 10:14 PM, RAHUL KUJUR <kujurismonu2...@gmail.com>wrote: > @snehal: > will the shooting take place in increasing order of accuracy of hitting the > target and is that at a time only one person can take a shot??? > if yes then > @Salil: > my answer would be the same as above. what C will do is that it will first > let A and B kill each other first. > After C wastes his shot it will be B's turn. B can kill C, but in that case > the turn would go to A and he would surely kill B. If B goes after A, then B > may hit it or miss it(as its probability of hitting is 50%) > If B misses it > then > it depends on A whom to kill. A may kill B or C. A will try to kill one who > is better shooter i.e. B as C is less likely to hit A. > If B hits A then we are done. Round 1 is complete(as required in the > question) and C survives the first round. > Look the problem is not that who gets killed at last but rather what C > should fire in the first round obviously to survive(as I understood the > problem). It may happen that eventually C gets killed. But what should C > shoot in first round to survive. > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algoge...@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com<algogeeks%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- -------- Thanks & Regards Salil Joshi. CSE MTech II, IITB A-414, Hostel 12 +91.9819.442.865 This is a confidential E-Mail. If it has reached you by mistake or if you are not the intended receiver, please send it back to me. -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algoge...@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.