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.
In this case, it won't. Since the inputs are within a limited range! Another case for large inputs tho
Already mentioned in description
fixed
Indeed :)
And I would even add:
stage 10 "Jeez! It was actually SO obvious after all!.. How could I not see it at first? :/"
I had initially gone on a much more "far-fetched" path / more "complex" behaviour^^
My bad then. You're right. If those are the test values, it should indeed expect true.
What's the error message you get? I've tried a not efficient enough code and it shows a log of a list of tests where the last one should return true, but the error below shows this:
So the message is confusing, the real error there is the timeout.
Not an issue. Not enough u in the first string.
I've donbe many of these before and I just don't understand how the 3rd test case works. I'm still struggling on that one. Any references that could help?
Thanks
@mcmlevi ..
@mcmlevi ..
If you wrote that much about the data managment, that means you didn't find a "good way" to do it. Check out others solutions to see how you can handle that in better ways.
(for instance, consider that there are katas about conversion of integer values to the equivalent words, from 0 to 1 000 000. How will you do that without becoming crazy if you cannot find ways to write the minimum?)
The Kata creator should also include a dictionary for value look ups. God damm.
Thanks for completing the Kata and providing great feedback! I should make that point more clear in the description.
I chose to use a direct decimal representation for the data1 and data2 just for simplicity. I hope I can create a series with more op-codes and data represented in hexadecimal.
Hi,
Please, stop doing BF translations to katas already having other languages: the very same task in BF generally has absolutely no common ground about its difficulty with any other language. Solving some 7 kyu in python might become 3 kyu in BF (si counter BF kata), so it's pointless and especially unfair for the users who solve the task in BF. You should unpublish this translation and publish a specific new BF kata.
EDIT: well, for this special case, I guess that it won't make any difference, BF or not, yes. So go for it. But keep that in mind for other katas. ;)
You missed a
return
;-)