Getting test case 1 wrong

getting test case one as wrong

how to open test cases

The answer should be 366 when 1-m = 0 because 1-m indicates that the probability that on each day there is exactly one people having the birthday on same day. Since it is zero so on each day there are can be two person having his birthday. So, considering 365 days we should have 366 persons.

1 Like