Ad
  • Default User Avatar

    Guys, what's ur speed on sample tests, specially on PHP?
    In my case it take for 4.43ms and its taking too long for full test suite. I haven't done this kata yet but i have no idea how to more speed up my code.

  • Default User Avatar

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

  • Default User Avatar

    U have 60 instead of 20

  • Default User Avatar

    Failed asserting that two strings are equal.
    Expected: '7000000000000000000 + 400000000000000000 + 20000000000000000 + 6000000000000000 + 100000000000000 + 60000000000000 + 4000000000000 + 500000000000 + 40000000000 + 1000000000 + 100000000 + 60000000 + 9000000 + 300000 + 30000 + 6000 + 300 + 20 + 1'
    Actual : '7.0E+18 + 400000000000000000 + 20000000000000000 + 6000000000000000 + 100000000000000 + 60000000000000 + 4000000000000 + 500000000000 + 40000000000 + 1000000000 + 100000000 + 60000000 + 9000000 + 300000 + 30000 + 6000 + 300 + 20 + 1'

    Well.. what to do now? It's PHP and i have no range in int/float to write "7000000000000000000"