Ad
  • Custom User Avatar

    Sincerely, everyone.

  • Custom User Avatar

    This was a rollercoaster ride. Thanks, math.

  • Custom User Avatar

    This can be marked as resolved.

    It is now clear that I need to return a mathematical equation as as string and not just the number 24 🤦‍♂️. Now I just need to have this not time out at the 200th test.

  • Custom User Avatar

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

  • Custom User Avatar

    fair warning, I am brute forcing with 10000+ lines...
    receiving the following after passing basic tests:

    TypeError: s.match is not a function
    at isValidR
    at /home/codewarrior/index.js:10920:16
    at /home/codewarrior/index.js:10942:5
    at Object.handleError

    /runner/frameworks/javascript/cw-2.js:237
    throw ex;
    ^

    TypeError: s.match is not a function
    at isValidR (/home/codewarrior/index.js:10935:8)
    at /home/codewarrior/index.js:10920:16
    at /home/codewarrior/index.js:10942:5
    at Object.handleError (/runner/frameworks/javascript/cw-2.js:233:11)
    at Object. (/home/codewarrior/index.js:3:6)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at [eval]:1:1
    at ContextifyScript.Script.runInThisContext (vm.js:50:33)
    at Object.runInThisContext (vm.js:139:38)
    at Object. ([eval]-wrapper:6:22)