Hmm. I tried something similar, but kept timing out on the full submission test suite. I wonder where my inefficiency was.
yeah, theres lstrip for that in return
I like it!
it works for that and the output is '4', i tested it on python 3.10
KPACUBO
This comment is hidden because it contains spoiler information about the solution
what if the input was 002 and 2
This solution best helps understand how the output was constructed. Nice.
got it thanks!
When it comes to execution time, it's best variant out here. Молодец!
I implemented the same steps (just as it is made by hands), but yours are so elegant. Awesome!
Класс!
Loading collection data...
Hmm. I tried something similar, but kept timing out on the full submission test suite. I wonder where my inefficiency was.
yeah, theres lstrip for that in return
I like it!
it works for that and the output is '4', i tested it on python 3.10
KPACUBO
This comment is hidden because it contains spoiler information about the solution
what if the input was 002 and 2
This solution best helps understand how the output was constructed. Nice.
got it thanks!
This comment is hidden because it contains spoiler information about the solution
When it comes to execution time, it's best variant out here. Молодец!
This comment is hidden because it contains spoiler information about the solution
I implemented the same steps (just as it is made by hands), but yours are so elegant. Awesome!
Класс!
This comment is hidden because it contains spoiler information about the solution
Loading more items...