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.
Fixed
thx. Let's wait for Voile, so...
Hi,
It seems there's a problem with your translation (see issue at the top).
bye,
B4B
Screenshot with log of actual value, that my function returns:
http://savepic.org/8754382.png
JS: that's a task for Voile.
Well, that's correct, but the "requierments" are not what concerns me here!
Once again, please add a consolelog to your code to display the output and so verify that expected and actual are not inverted. If it's the case, this would be YOUR code that returns 0 instead of five, so the checks begin there (before Voile gets there).
cheers
Yes, I'm sorry
Language: JavaScript
And yes, 571983-543866 equals 28117
Zero can't be the case here due to task requirements
... |-/
again:
;)
This comment is hidden because it contains spoiler information about the solution
Heh, I have another idea: I've just got confused with logs, they precede result like here:
http://savepic.org/8764620.png
So the issue can be marked as resolved I think.
language please? (not python, it seems. JS or C#?)
EDIT: to the author of the translation: this is all wrong: 0 and 2 are both present in the numbers, so neither 0 nor 2 should be expected... (I say that because I suspect an inversion actual/expected too) and SSkovboiSS's solution is wrong all the same... ;)
Random tests work incorrect when number starts with '0':
http://savepic.org/8719565.png