Ad
  • Custom User Avatar

    Thank you for this explanation, jeez, katas with ambigous explanations are terrible.

  • Custom User Avatar

    Probably a little bit too late for me. I figured it out by deduction by looking at the unit tests, and reading other previous comments. Link makes a whole lot more sense. If the description would have said something like shift, I personally never heard rotate but now I know. Thanks.

  • Custom User Avatar

    It might be ok but is a terrible way to explain it. Who comes up with these crypto explanations?

  • Custom User Avatar

    There are tons of katas with really confusing explanations. I believe someone explained to me that if someone changes the description, all people that submitted, will be re-ran against the server posible overloading the server. I think this needs fixing, just don't automatically check all previous submissions. Alert user if they'd like to resubmit due to kata changes or something along those lines. This is a very easy problem to fix, that no one has had the strength to fix.

    @seger Why in hell is your explanation hidden as a spoiler? That should be in the description!
    Making a description cryptic shouldn't be the endgoal here.

  • Custom User Avatar

    For anyone having issues understanding the below paragraph:

    If a chunk represents an integer such as the sum of the cubes of its digits is divisible by 2,
    reverse that chunk; otherwise rotate it to the left by one position. Put together these modified
    chunks and return the result as a string.

    Each digit on a chunk needs to be cubed, then sum all those digits:

    Chunk example: 73304

    Number Cubed
    7 343
    3 27
    3 27
    0 0
    4 64
    Total 461

    461 is not divisible exactly by 2, so(explanation is really messed up, I don't know what left means in the original description, maybe meant the other left):
    Send first digit to the back:
    73304 => 33047

    If it is divisible exactly by 2, reverse chunk:
    73304 => 40337

    Hopefully this makes more sense to you guys.

  • Custom User Avatar

    @Anthony_SYX no it does not mean the sum, it means the sum of the cubes.
    Meaning cubic, I don't know why that very important aspect is not shown in the description.

  • Custom User Avatar

    @Blind4Basics I didn't know original descriptions could change, and cause conflicts. Should be fixed now.

  • Custom User Avatar

    Can you please be a little bit more specific? What is it conflicting with?
    Sample test cases are all the same, and that's what I based the random tests with.

  • Custom User Avatar

    Fixed the issue on testRandom(). By the way I went back to my swift translation and that one is good.

  • Custom User Avatar

    Forked and fixed. Awaiting approval.

  • Custom User Avatar

    Ok yeah that's was a bug. I've never had an issue before. I hit the edit, and made the change. I don't know if the server took it. It looks like it did.

  • Custom User Avatar

    I didn't change the description. Are you saying the description doesn't match the code? or tests?

  • Custom User Avatar

    My Swift Translation has random tests been 10 months though and still not approved :(

  • Custom User Avatar

    Yeah eveything starts to blend after a while, but I really love the simple languages like python. I started with Java, and I just learn the new modern languages just to keep up. Thanks for the approvals!

  • Custom User Avatar

    As promised Kotlin is so much like Swift, but simpler and much easier to grasp since I am coming from Java lol :D

  • Loading more items...