A solution that needs space proportional to the input numbers' values won't be able to handle the random tests.
fixed in latest fork
Should be fixed
Cannot reproduce. The reference solution and the solution provided by the author both return [0, 18, 2] for this input.
[0, 18, 2]
forked the translation
This comment is hidden because it contains spoiler information about the solution
OP solved it, closing
solution invalidated, closing
Haha I guess you've maxed it out.
I thought using an f-string would have the same length as mine. I didn't see that extra space coming. Nice.
Fixed. Upgraded to python3.8
have some middle range tests so that I can debug it manually
That was the suggestion. And that's a good idea generally.
New test framework should be used :) AND assert inside it and it inside describe blocks as well
assert
it
describe
fixed
new test framework should be used
add it blocks under describe block
it blocks
describe block
3*10+2*8...? (seems like I'm not the only one who should be in his bed right now... x) )
3*10+2*8
Loading collection data...
A solution that needs space proportional to the input numbers' values won't be able to handle the random tests.
fixed in latest fork
Should be fixed
Cannot reproduce. The reference solution and the solution provided by the author both return
[0, 18, 2]
for this input.forked the translation
This comment is hidden because it contains spoiler information about the solution
OP solved it, closing
solution invalidated, closing
Haha I guess you've maxed it out.
I thought using an f-string would have the same length as mine. I didn't see that extra space coming. Nice.
Fixed. Upgraded to python3.8
That was the suggestion. And that's a good idea generally.
New test framework should be used :) AND
assert
insideit
andit
insidedescribe
blocks as wellfixed
new test framework should be used
add
it blocks
underdescribe block
3*10+2*8
...? (seems like I'm not the only one who should be in his bed right now... x) )Loading more items...