Ad
  • Custom User Avatar

    I solved all the test cases except for the first one... His stubs add 3.6 extra cigarettes but the solution requires us to add 4. How does he get an extra cigarrette out of 0.6? That doesn't make sense. Unless I'm doing something wrong, we should rounding down and not up. Frustrating.

  • Custom User Avatar

    For those having trouble with this one; literally follow the steps provided in the description. It's laid out exactly how you should code it. I struggled with it for a while trying to use indexing before I took a step back and realized that they lay out every step, including variable and boolean assignment. Hopefully this helps anyone having issues.

  • Custom User Avatar

    This should be at least a 6 kyu.

  • Default User Avatar
  • Default User Avatar

    Don't comment tests next time please. I was confused why my code doesn't work

  • Custom User Avatar

    I really hope the author of this kata doesn't format functions like this on a regular basis...

  • Custom User Avatar

    If you're suggesting that you eat half cooked pancake

    Nobody told you that, but I won't give you anymore hints. Either you solve it or forfeit it.

  • Custom User Avatar

    Okay. I made a mistake when I wrote "2 minutes each side" when I meant 2 minutes per pancake. If you're suggesting that you eat half cooked pancakes and that's "thinking outside of the box" then I'm even more frustrated with the wording and expectations of this kata. This kata needs to be reworded with a clearer explaination.

  • Custom User Avatar

    If pancakes take two minutes for each side

    No, it's:

    one needs to fry a pancake one minute on each side.

    And your problem is you're thinking one pancake = 2 minutes, it's either raw or cooked when there is another state.

  • Custom User Avatar

    How can you expect 3 (minutes) when each pancakes need one minute for each side ? Or maybe you prefer semi cooked pancakes?... or i didn't understand something ?

  • Custom User Avatar

    400 people have solved this. It's supposed to be tricky, you need to think outside the box.

  • Custom User Avatar

    This cannot be right. I've even had friends double-check my logic, and they all agree that my code should work, and that whoever wrote the problem was incorrect.
    imo I think the person who made this needs to take it down and fix it.

  • Default User Avatar

    why would you ever have empty space in the pan?

    yeah that's what I'm saying. but if you have more time spent than the minimal, then that is what's going on. unless you're burning them that is.

  • Custom User Avatar

    the task was written by a person who does not know how to write them, just guess what the person was thinking when he wrote it

  • Custom User Avatar

    If you're trying to cook as many "cutlets" as possible so you get to "n" quickest; why would you ever have empty space in the pan? This is the part that doesn't make sense. Any sort of "trick question" type of solution really shouldn't apply to a 7 kyu kata, regardless of my humility.

  • Loading more items...