Birthday paradox

what problem in my code.i have cleared my all test cases except one plzz check

in case when p = 1 you are printing 2 answers
corrected code:

srry i am not understand
plzz clear the code

i provided you with the corrected code please check it!

i know u give me code but i am not understand they take 0.70 what means it.plzzz clear this

Hey 0.7 is just an example it has no significance to the question.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.