Open ukaluzhny opened 1 year ago
Hi,
I looked into your code as a way to write something similar.
First, thank you for sharing – your code helped me more than the official test suite.
Second, in the “Liner complexity” test, IMHO, there are two mistakes in your code:
t = c[:]
numpy
t = c.copy()
int(max(-2.5, ticket) + 2.5)
int(max(-3.5, ticket) + 3.5)
Please check it out if you'd like.
Uri
I will look into it in the near future! Thanks!
Hi,
I looked into your code as a way to write something similar.
First, thank you for sharing – your code helped me more than the official test suite.
Second, in the “Liner complexity” test, IMHO, there are two mistakes in your code:
t = c[:]
does not create a copy innumpy
, uset = c.copy()
int(max(-2.5, ticket) + 2.5)
is not what you need. It should beint(max(-3.5, ticket) + 3.5)
Please check it out if you'd like.
Uri