Question GOHAN
Contest - NSIT(Div 2) rated contest.
What is the need of "fixed" for printing the final answer in this question?
cout<<setprecision(10)<<1-rrc/(4*l); has not been passed.
But,
cout<<fixed<<setprecision(10)<<1-rrc/(4*l); is passed.
Can anyone explain the importance of fixed? Thank you.