Retired

How do I combine these numbers? (retired)

Description
Loading description...
Puzzles
Fundamentals
Algorithms
Logic
Games
  • Please sign in or sign up to leave a comment.
  • Unnamed Avatar
    function wholeInt() { '' }
    

    Error: You cannot use general math operators, or regex

    ???

  • JohanWiltink Avatar

    If you're going to forbid certain things, it helps solvers immensely if the tests give accurate failure messages.

    When I have a literal string in my solution, I get "Error: You cannot use general math operators, or regex", which points in a totally wrong direction if I also have "&" in it. Because "&" might fall under "math operators such as [+-*/%]".

    Be precise, both in specifications and in error messages. "such as" and "some parts" have no place in specifications.

  • JohanWiltink Avatar

    This has been done. It was called "additionless addition" or something.

  • rowcased Avatar

    Sample tests are broken.

  • rowcased Avatar

    You should unpublish immediately and add random tests.

    • caryaharper Avatar

      Thank you for the feed back, I hope I've managed to resovle everything, but if you happen to do this again and see any issue please leave another comment.

      Issue marked resolved by caryaharper 4 years ago