Ad
  • Custom User Avatar

    In this case, it won't. Since the inputs are within a limited range! Another case for large inputs tho

  • Custom User Avatar

    Already mentioned in description

  • Custom User Avatar

    fixed

  • Default User Avatar

    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^^

  • Custom User Avatar
  • Custom User Avatar

    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:

    Expected: false
    Actual: 1
     STDERR
    Execution Timed Out (12000 ms)
    

    So the message is confusing, the real error there is the timeout.

  • Custom User Avatar

    Not an issue. Not enough u in the first string.

  • Custom User Avatar

    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

  • Custom User Avatar

    @mcmlevi ..

    • Many many thanks Levi for such a positive feedback :relaxed:
    • Hope you've enjoyed solving this humble kata :blush:
    • Wish solving the rest of them helps you getting a higher ranking :wink: , also Tuned to hear your feedback :+1: :wink: .. Hope you the best :relaxed: Regards .. Zizou
  • Custom User Avatar

    @mcmlevi ..

    • Thanks for your Positive Feedback Levi :relaxed:
    • Yeah , This kata targets implementation in minor manner :relaxed:
    • and if you have any comment or suggestion allowing me to improve Kata's overall style , I'm all ears to hear it :relaxed: :wink:
    • also I'm tuned to hear your feedback on the rest of mine katas :wink: :+1:
    • Happy to follow you Levi .. :relaxed: , Hope you the best On/off CW .. Regards .. Zizou
  • Custom User Avatar

    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?)

  • Custom User Avatar

    The Kata creator should also include a dictionary for value look ups. God damm.

  • Custom User Avatar

    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.

  • Custom User Avatar

    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. ;)

  • Custom User Avatar

    You missed a return ;-)