Ad
  • Custom User Avatar

    Second that. Took me way longer to figure out the format than it took to create the actual shapes. For everyone wondering: remove \n at the end of the string and for numbers > 9 only use the last digit.

  • Custom User Avatar

    Sorry, should have added that. C#

  • Custom User Avatar

    Shouldn't N -> W -> S -> E result in a circular motion?

  • Custom User Avatar

    Random test for 66
    ✘ Expected string length 38611 but was 57751. Strings differ at index 1838.
    Expected: "... 0000000000000000000000000000..."
    But was: "... 1010101010101010101010101010..."

    This doesn't make any sense, does it? First of all 66 ∈ (-∞,50]? Second, there is no number in 66 that would justify this many zeroes. Am I missing something here?

  • Custom User Avatar

    What kind of a description is this?

    Write function 'factorial' - this is a Haskell 'Hello World' like kata.

  • Custom User Avatar

    Strange, can't get this working in C#. Put the same code into LINQPad and it compiled wonderfully. I'm just gonna skip this.