Ad
  • Custom User Avatar
  • Custom User Avatar

    Because this is "advanced" kata :) and, quoting, 'the standard does not specify how long that "time unit" is'.

    Also, quoting, 'if you have trouble discerning if the particular sequence of 1's is a dot or a dash, assume it's a dot'.

    Could you please read the kata description? :)

  • Custom User Avatar

    I don't get why "111" is considered as an 'E', can enyone enlighten me please.

  • Custom User Avatar

    Yes solved, thank you!

  • Default User Avatar

    This error has already been told to CW a lot of times. I fixed it again. Could you tell me if it works?
    Thanks for your post.

  • Custom User Avatar

    When running the example I got a reference error, the same error is fired when running the test suit, the log generated is below:

    ../home/codewarrior/spec.ts(1,1): error TS1084: Invalid 'reference' directive syntax.
    ../home/codewarrior/spec.ts(2,1): error TS1084: Invalid 'reference' directive syntax.
    

    I fixed the example by adding those lines to the top

    /// <reference path="/runner/typings/main/ambient/mocha/index.d.ts" />
    /// <reference path="/runner/typings/main/ambient/chai/index.d.ts" />
    

    instead of

    /// <reference path="/runner/typings/main/ambient/mocha/index.d.ts" ></reference>
    /// <reference path="/runner/typings/main/ambient/chai/index.d.ts" ></reference>
    

    Can you please fix the test suite too?

  • Custom User Avatar

    Nope it's not called cheating, it's called preprocessing, it's definitely allowed in competitive programming.