Getting different output in a question than what is shown in video

Input
10 3
my output
3.16293
expected output
3.162
As I have mention a precision of 3 in my input

@isingh please share the related code saved on ide.codingblocks.com

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.