+ 1

Please check this challenge question

I am not getting correct hidden test. Please cross check it https://code.sololearn.com/cLI0DWt7WvHG/?ref=app

18th Mar 2022, 7:22 AM
Md Saif Ali
Md Saif Ali - avatar
3 odpowiedzi
+ 2
There asked to round up result so use ceil() function instead of round. And input is always >= , it's mentioned. So no zero outputs..
18th Mar 2022, 9:31 AM
Jayakrishna 🇮🇳
+ 1
Jayakrishna🇮🇳 bt ceil will not round off as mentioned in the question
18th Mar 2022, 10:18 AM
Md Saif Ali
Md Saif Ali - avatar
0
It's asked to round up* , not round off. So it mean apply ceil to the result. try it and see.
18th Mar 2022, 10:20 AM
Jayakrishna 🇮🇳