Ad
  • Custom User Avatar

    me too! No worries, my codebase at work looks way more algorithmic. I couldn't just think clear at the day I made this Kata, so I decided to just input the numbers myself Until I pass the tests, because I noticed that the test aren't randomized.
    It was actually kind of meditating.

  • Custom User Avatar

    This looks like you solved some quantum equation!

  • Custom User Avatar

    A bit of brute force but way more efficient!
    Isn't my day today. Couldn't think straight so I just wanted to do something very silly where I don't have to think very much.
    Anyways it was a nice kata for roman numerals.
    Most time in life I struggled to read the roman numerals properly, but after this nice training I feel very confident now.

  • Custom User Avatar

    Nice to find out in this way that the uppercase version of an character class means not.
    %S means all non white space characters.
    The same could have been achieved with %a which means all characters.
    Anyways, good job mate!

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    I feel like the only fool, who did it on binary level.

  • Custom User Avatar

    Smart and a bit more storage efficient ♥

    The only problem I see here is, that you manipulate the original m value which was given as a parameter.
    Anyways, good solution!