+ 1

What's wrong with my code?

i had tried to solve "paint costs" but 2/5 tests are wrong, so I add 1 to answer, and they become right, but another tests is wrong now upd: solved. thx my code: https://code.sololearn.com/chOUCkyxAhGD/?ref=app p.s. sorry for mistakes

10th Jan 2020, 11:05 AM
Maksey
Maksey - avatar
1 Answer
+ 2
Use ceil instead of int on last line Edit: and put as first line: from math import ceil
10th Jan 2020, 11:12 AM
Mihai Apostol
Mihai Apostol - avatar