Ad
  • Default User Avatar

    Someone added a performance test at some point, older solutions didn't have to pass that test. It's still possible to pass in PHP, you just need a faster solution.

  • Default User Avatar

    yup, with OOP, you want a banana => you get a gorilla holding the banana and the hole jungle around :D ..

  • Custom User Avatar

    Going by their profile, Python.

  • Custom User Avatar

    Everything is consistent, on the contrary. Unless you did find badly set tests, but that's very unlikely, and however it's impossible to do anything since you no information at all, not even the language you're using.

  • Default User Avatar

    What the kata is asking is not consistent with the tests. What it's the point of this????

  • Custom User Avatar

    please remove this bullshit. trolling is not cool.

  • Default User Avatar

    :D:D:D:D:D:D:D:D:D:D:D:D:D lol .. yup think before you code lol.. nice troll :D:D

  • Default User Avatar

    lol, yesss me too :D:D:D ... he/she warned us though "think before you code" :D

  • Default User Avatar

    ya i know .. being too slow is a php thing :D even it's just a few mseconds above the 500 mark .. to be honest modern computing became so powerful to even consider excution time.. have done it with just a couple of lines, sadly not fast enough .. i guess i'll keep trying .. thanx ..

  • Custom User Avatar

    Your solution being too slow is not a kata issue.

    I just solved the kata in PHP and had no issues related to timeout. I think you need more than two lines.

  • Default User Avatar

    i'm using php .. have solved this kata different ways, everytime i try to attempt my solution, i fail the advanced test due to 500ms excution time limit to pass .. have optimized my code narrowed it down just to 2 simple lines, still the same result .. any ideas?