You are viewing a single comment's thread. Return to all comments →
Would have been nice if there was an info on that in the problem description... bc -l is described in great detail and used but nowhere is it pointed out that it truncates, or that the problem would need proper roundings... pretty frustrating, as arithmetical rounding is hardly ever requested in CS problems and everybody is fine with truncating...
It was in the "PROBLEM" :
**Your task is to evaluate the expression and display the correct output rounding upto decimal places. **