#DILR-7(FB Group)
Ronaldo, Messi and Neymar participate in a football tournament consisting of penalty shootouts. They try to score one after the other in that order without any breaks. In every round, the player gets exactly one chance to score. The tournament has "n" rounds. For any player "P" the player taking the penalty just before him(not necessarily in the same round) is called as the preceding player for that round. The following observations were made- 1) If P scores the penalty in the previous round and the preceding player also scores the penalty, then P will miss the penalty in the current round. 2) If P scores the penalty in the previous round and the preceding player misses the penalty, then P will score the penalty in the current round. 3) If P misses the penalty in the previous round and the preceding player also misses the penalty, then P will miss the penalty in the current round. 4) If P misses the penalty in the previous round and the preceding player scores the...


Comments
Post a Comment