Ad
  • Custom User Avatar

    Thank you.
    So is there any way this level may evolve ?

  • Custom User Avatar

    I would like to, but i don't find the option, don't know how to do it.
    Can someone help me with that ?

  • 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

    Thank you for reminding me, Done :-)

  • Custom User Avatar

    Well, then with imports allowed, the kata seems good to me as it is. I agree it would be too simple without the string manipulation. Removing duplicates in solution is not very hard and doesn't feel weird to me. I added my satisfaction (sorry i forgot till now). I would add a ranking if it was possible, i couldn't (because of draft mode i guess). I would say 6 kyu, what do you think ? I'm still not very confident with the ranks. I've read in the wiki that you'd need 10 votes then, and you have 5...

  • Custom User Avatar

    Hi rge123,
    Thanks for letting me submit. I've learned something nice now, didn't know about numpy roots !
    About the errors I had, i haven't been able to reproduce them, but i know it was not related to repeated solutions (because i had those too !).
    I agree that the hard version would be a nightmare, and certainly a bigger one for the checking code than for the solution maker. There could be so many different answers.
    So maybe not the best idea.
    But, a way to make your kata more difficult, could be to disable imports.
    Implementing a math method like the solving of cubic equations, even though the method is easy to find on the web, is a good exercise.
    Then, about the question of the string business, i don't know. It's not very hard and quite satisfying, ...
    Do you know why the kata is stuck at beta stage ?

  • Custom User Avatar

    All right, got it, thanks.

    So for the author:
    The only issue i've had while solving: the solution checker sometimes took the members of my solution in a wrong order, because (i think) of the rounding precision of the imaginary part of complex numbers. But somehow this problem disappeared, maybe you changed the testing code ?
    My opinion on the kata : it's a very good idea to propose a cubic equations solver kata. But the way you propose it feels like two different katas : one to reorganise the initial string, and another to actually solve a cubic eq.
    The reorganisation part is fun, but a little strange, because only based on addition/subtraction and sides of equation. A complete reorganising kata with a wider range of inputs would be more challenging (maybe there's already one on Codewars ?).
    The solving part is great, it needs a flexible solution checker with forgiving rounding. An idea then, could be to add a harder version, asking to give exact solutions, using fractions, roots and/or trigonometry.

  • Custom User Avatar

    Thank you Blind4Basics,
    I found the kata on the creator's profile.
    What is the way to cooperate on a kata in draft mode ?

  • Custom User Avatar

    Hi,
    I have a correct solution, test and attempt all passed fine, but i can't submit.
    Is there a reason for that or is that a bug ?
    It's the first time it happens to me.

  • Custom User Avatar

    Nothing stupid in your questions for me, my decription is short and would certainly deserve a picture. That was my first kata, i like the problem, but the kata creation is not very good. I wasn't aware of the codewars_test toolbox. So yes, it only tells when a test fails.

  • Custom User Avatar

    Hi, the ground doesn't count as a barrier, each room needs a panel for its ground too.
    And ceiling/floor can be shared as well between piled neighbors.

  • Custom User Avatar

    Hi,
    I've Created this kata:
    https://www.codewars.com/kata/5e9ce15e9a872f002dc6dc94
    There are several things i don't understand: I was hesitating how to rate its difficulty, and set it first at 5 kyu. But a friend told me it should really be 3 kyu. I modified it, and it now appears in the kata search engine only when looking for a 5 kyu kata, even though it's labelled as a 3 kyu.
    Much worse : The stats are indicating that it's been completed 5 times, but i can see only two solutions : mine and Voile's now invalid one. I know from a friend that he's solved it. Why can't i see other solutions ?
    Stats again, say that the kata has been satisfying for 38% users out of 4 !!! No need to be a great problem solver to detect that there might be a problem to solve here.
    So, please help me, is there something i've done wrong or misunderstood ?

  • Custom User Avatar

    Hey Voile,
    I would like to understand, maybe you can help me:
    I see the stats say that my kata has been completed 5 times, but there are only two solutions, yours and mine, how is that possible. And it says that 38% out of 4 have given a positive vote, well i don't know how many votes that is ??? My question is where are the negative votes coming from if none seem to have solved the kata ?
    Also, is that possible to remove your solution now that I fixed the test cases ?
    Thanks for your time :-)

  • Custom User Avatar

    Thank you, done !

  • Loading more items...