Ad
  • Custom User Avatar

    Thank you!
    I am sorry, want just know why I am able to pass all your tests besides your sample.

  • Default User Avatar

    1- It is a question not an issue.
    2- 1165 guys passed the Java kata (see at the top of the page), if there were errors somebody would have seen them.
    3- There are more fixed tests when you "SUBMIT" than in sample tests.
    4- I tried a few solutions and all was fine.
    5- You code could be wrong:-(

  • Custom User Avatar

    I do not know what happanes but when I run your sample tests it pases it, but when I run ussual testes it passes all the random tessets and fails at your sample test. ( 0! error )
    It works in Net Beans.
    [Java]

  • Custom User Avatar

    Yeah that What I mean Description is needlessly complex, As I said the task it self was stright forward after you will undestant what it wants from you.

    I would edit my orginal comment to make it more clear but it seems I can't.

  • Custom User Avatar

    New R translation, awaiting review!

  • Custom User Avatar

    I'd say it's appropriate based on the Wiki:

    7 kyu kata represent a beginner programming level. At this level the kata will generally challenge users on their core language and API reference knowledge. Tasks such as:

    Iterating arrays and returning a subset of values

    Basic data type manipulations

    Basic functional or object-oriented concepts

    Basic Regular Expressions

    This one meets the second and potentially the first bullet points. I agree that the language of the setup is less than clear. For example using "s1" as an example input but "a1" as the predefined function input could be needlessly confusing.

    edit: on a second look, I now realize that the problem with the description is "call this x and call this y and here's a formula relating the two". Yeah, that's obnoxious. I've spent enough time in math books that I didn't really notice, but for a beginner that's a very unintuitive way to describe what should be an intuitive task.

  • Custom User Avatar

    Ok This Kata is in theory stright forward. But language used to describe it was needlessly complex. I woudn't mind if this was some higher level Kata

    Yes, all informations were there but it could use more simpler examples.

    Imagine situation like this:
    You are some one who heard codewars is good place to work on your coding skill and this is one of the first tasks you get. It will definitly discourage people.