mujhe ye nhi samajh aa rha hai ki this ans is ttaught in video and not why not accepted for 2 cases
Submission #3932808
RANDOM QUERY question
I think you might not be setting the precision well.
You need to do this :
cout<<fixed<<setprecision(6)<<(double)(((ans21.0)-n)/(nn1.0));
Please have a look at this short code snippet.
I think you might not be setting the precision well.
You need to do this :
cout<<fixed<<setprecision(6)<<(double)(((ans21.0)-n)/(nn1.0));
Please have a look at this short code snippet.