+ 2

[solved] Trouble with rounding up

Using ceil to round up, failing to meet all test cases. https://code.sololearn.com/c2fDu212pDtI/?ref=app Edit: it was solved by adjusting the location of the division.

10th Jan 2022, 4:43 AM
HungryTradie
HungryTradie - avatar
1 Answer
+ 4
Your comments indicate that you found a solution that passes all tests. Is there still a question?
10th Jan 2022, 5:22 AM
Brian
Brian - avatar