0

Duct tape

Hi, I’m failing only the fitfth test case. Does anyone have an idea for a fix? Thanks. https://code.sololearn.com/cdf7BVz6z1Wt/?ref=app

30th Jul 2022, 7:24 PM
Sonja
3 odpowiedzi
+ 1
Suppose you have 3.4 rolls as result. If you round it, it will be 3 rolls. However, now you have 0.4 ft**2 too few. So you would need to get 4 rolls (***round up***)
30th Jul 2022, 8:37 PM
Lisa
Lisa - avatar
+ 3
What is your task? Can you share it full..? edit: instead round, try applying ceil
30th Jul 2022, 7:29 PM
Jayakrishna 🇮🇳
+ 1
Hey! Why does the task say that tape is 60 feet long, cause it shuld be 60 inches long instead? Because we devide 60 by 12 in the right code
13th Jun 2023, 7:00 PM
Alexander Glyantsev