Ad
  • Default User Avatar

    i solved it with big int and it passes an refrence error at the last 2 tests
    how do you solve it?

  • Custom User Avatar

    That is a good question: the parsing changed a few months ago (and I didn't update my tests, as that would possibly invalidate all the previous valid solutions or anyway have them re-run with a waste of CPU time for CW), so I am not sure I can tell.

  • Default User Avatar

    100% agreed, this is a 7k problem.

  • Custom User Avatar

    My thought with the kata was for the solver to go on a journey, discovering the different requirements along the way. (That's why the description added the "figure out the rest from the given test cases" part.)

    From your comment (and a lot of the ones below) it seems like that was a bad decision. I'm not sure if the intention is unclear or if people just don't like that sort of katas.

    In the future, I'll try to be even more explicit about not stating all requirements up-front or just be more precise in what I expect.

    Being more precise would probably make it easier for the people translating katas.

    I'll give some thought about what to do with this one.

    Anyway, many thanks for your suggestion and taking interest in my kata. I'm happy you enjoyed it. :-)