Need help with my first submission

Link to submission https://www.codechef.com/viewsolution/39075638

Please help me find a solution. My execution result is correct but it sows an error on submission.

Thanks in advance

It should be w+0.5<=b
Also since it’s float comparison, try b-w-0.5>1e-9

:point_right: https://www.codechef.com/viewsolution/5608929