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.
I had wrong char to int parsing function.
Worked locally but not on CW
I would show it to you but I cannot post it because it does not pass tests.
Possibly on discord if you are there but in the end I know I made it work and so I do not need a robo testing to tell me "You did it"...
When I posted this comment it was more out of stress that I spent like 30 minutes on testing and looking for compiler settings to see if everything is setup properly (it is) and it still did not work...
So I am not going to be mad about it. I would just like to know if there is some minor compiler setting that I might have overlooked and it caused my tests to fail...
This comment is hidden because it contains spoiler information about the solution
Aaaaaaand now I feel stupid with my solution :D
Just wanted to write this...
In C++ when I did it I had it working on the first try in test cases but and then did not get my "first attempt" thingy because nobody warned me that attemp test cases can contain such large number and now I am salty about it...
Now this looks very confusing o.o
Finally I found someone who used similar approach as me :D
Well I just finished and now I am mad about my overegineering brain...
Now looking at others solution...
This is quite a bit of over-engineering
Well that is something I would expect to be in description...
I did an arithmetic doo doo. :(
A very big doo doo
My solution is basically the same but this actually made me laugh given how very compact you were with your naming conventions :D
This looks like something a code minifier would produce and also is the reason why so many people are afraid of programming