Test case 5 run-error

Is it possible to know where I am going wrong

hey @gargayush34 you need to check when p is 1.000 if it is print 366 else run your usual algorithm

Thank you. It is solved now