Ad
  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

    Could you give me an example and I'll update this kata.

  • Custom User Avatar

    Awesome! Thanks.

  • Custom User Avatar

    The program gives you the internal measurements of the frame, but you really need to find the external measurements.

  • Custom User Avatar

    myjinxin2015 - The width that ZED was talking about was about the width of the blade when it made the cut. I removed that from the kata, so there wasn't any irrational numbers in the answers.

    I updated the description to talk about imperial measurement conversions.

  • Custom User Avatar

    I re-formatted the description to show how the inputs will be passed as strings.

  • Custom User Avatar

    You are right. The width of the blade would cause the answer to have an irrational number. I removed the kerf from the problem. Thanks for the input.

  • Custom User Avatar

    Found an interesting occurence. In one of my for loops I didn't use for(let i = 0;. I just used for(i = 0;. Whenever I attempted the solution, I would get a Exit Code:137 with a Max Buffer Size Reached (1.5MiB). I would have ~13500 passed tests each time I ran it. I was trying to figure out how to optimize the code to get it to run faster. After going over my code a couple times, I just cleaned up that for loop declaration and boom. All of a sudden, it passes with 700 tests. I guess that's a good lesson to me, not to trust that those variables aren't already delcared somewhere else and I go and mess them up.