+ 1

I cant solve this problem

I've been trying the question"Paint Cost" in python for 40 minutes but i still cant do it . I noticed that the answers in test cases number 1,3 and 5 was the multiples of 5. but in 4 and 5 the answer was 56....or any other multiple of 5+1 I still dont get it why is it not correct. I asked my brother but he still could not do it. If anyone does it for me , i will follow him or add one more followers

30th Aug 2023, 1:03 AM
Mohammed Mahbeer Rahman
Mohammed Mahbeer Rahman - avatar
4 Réponses
+ 2
Post your attempt.
30th Aug 2023, 1:38 AM
Marcos Chamosa Rodríguez
Marcos Chamosa Rodríguez - avatar
+ 2
Mohammed Mahbeer Rahman did you remember to round up to the nearest whole number?
30th Aug 2023, 2:32 AM
Brian
Brian - avatar
+ 2
can you post the link?
30th Aug 2023, 2:39 AM
Darsh srivastava
Darsh srivastava - avatar