Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
True the description is misleading right of the bat !
Thank you dear friend i finally got through it !
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
The first if statement is not necessary because if a=b from=to then you just have to write for(i=from; i<to; i++)
instead of for(i=from; i<=to; i++) ;)
This comment is hidden because it contains spoiler information about the solution
We have to downvote this Kata i waisted my time just to realize afteward that i was mislead by the description...
Very badly explained Kata
I can see right away that you coded in c or c++ long time before jumping to python. Python has a large amount of tools that can simplify your life and make you save a lot of time. I would encourage you to explore the tools instead of making the wheel again.
Python Version Times out all the time with random tests
Python version still timing out and working well with another online compiler
Works fine with another online compiler times out all the time here. Big issue with Python !
Ok i see now yes paying by lines of code is dumb :D
Why complicating your life for nothing ?