Ad
  • Custom User Avatar

    Kata is poorly written, evidenced by the fact that almost all of the solutions didn't even use the formula for G but instead hard coded a value. If this is at 8kyu then it should be instructional. This didn't teach me anything other than confusion around N and wondering why the math didn't work out correctly. Please refactor this kata to be useful for practicing the logic you want to convey or useful to introduce the topic you want to convey. Otherwise you've just made a little math problem that you know the answer to already and think it should be "obvious" to others, which is a useless thing to put online.

  • Custom User Avatar
  • Custom User Avatar

    why are you allergic to spaces?

  • Custom User Avatar

    Extremely poorly written kata, the prompt does not stand on its own and doesn't teach anything. Should be re-written to better convey the topic of the kata if your desire is to teach a math concept and if that is not your desire this kata shouldn't be on here.

  • Custom User Avatar

    Including a good article explaining the concept this kata is referecing would be best. This isn't asking anyone to practice problem solving it is just wanting someone to already know what you're talking about. Not useful in current form.

  • Custom User Avatar

    The description is badly written. This is very confusing to someone not familiar with vectors and the linked article is just as bad.

  • Custom User Avatar

    For anyone looking to copy this digit count snippit, be aware that the digit count line will fail to count the number of digits for zero (1). It returns -Infinity. It doesn't matter for this problem because 5 to the power of -Infinity will return 0 and not NaN. (multiplying -Infinty by 0 produces NaN, apparently).