In the end, it's quite simple.
Can't believe I've been staring at this thing for hours, over the last couple of months.
Some tests which are not attempted don't have a description, and i didn't know what kind of issue i need to solve/ It gripes my balls!
C Translation available!
And now you are a 1kyu! awesome!
and this possible cuz a coersion
He is checking the length of the array after and substracts 1. If you have 'abcd', and split it by 'b'(the result would need to be 1) you will have [a, cd] which has length 2, then 2-1 its 1 :D
Even simpler than I thought :)
dang, yes I did. thanks
Did you modify the input?
Is it possible something happened to this kata during the shift to fully Python 3.6? Because my code returns a Boolean but this happens:
Traceback (most recent call last):
File "main.py", line 42, in <module>
File "main.py", line 12, in default
File "main.py", line 17, in countdown
time = x.split(":")
AttributeError: 'datetime.datetime' object has no attribute 'split'
I am not sure if I understand how this one works. If you split at letter, my assumption was that you would still have the remaining letters in the new array.
Pushed it to 10^9. Due to the translation being complete garbage using int instead of long it's impossible to go further :(