Ad
  • Custom User Avatar

    Weird grading for something this easy. I've had 5kyu that were harder (eg. the prime ant )
    I agree my solution may not be "advanced Python talk" but still...

  • Custom User Avatar

    Here I thought I was gonna be a 'smart' cookie by doing quick jumps to queued positions, to make it faster.
    (the distance can be up to tens or hundreds of "steps" from the lowest position)

    My solution passes 1 out of 5 times, depending on the inputs.

    Think i'll skip the "insane" version, looking at the other solutions i feel a python noob hahaha.

    Great Kata though!

  • Custom User Avatar

    " ...it also means '00000' is definitely a short (in-character) pause, and '000000' is a long (between-characters) pause."
    Yet in the "Hey Jude" example I see both 5 and 6 zero's being used "in-character"...?

  • 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

    in all seriousness, I agree. (the ranking and the "bad joke" :) )

    3kyu are usually more difficult (for me).

  • Custom User Avatar

    I'm not sure we should change ranks of old kata's. The bar may have been different back then. We all know there are dozens of older blue kata's that would get ranked yellow these days, but there also are a ton of 6-5 kyu's that could have been ranked 5-4. Should we sweep through all older kata's and recalibrate ranks against the "current" bar or should we just accept some kata's are ranked the way they are? (open question)

  • Custom User Avatar

    That's a pretty bad joke here. (There are also gonna be a lot of people who still take your joke seriously ;-))

  • Custom User Avatar

    I guess everything looks like a 5kyu if you're a "x dan" (compliment disguised as joke) ;-)

  • Custom User Avatar

    Great Kata!
    @HKMT's one liner for compressing the grid makes me feel like a dunce... :)
    (not just that but this one killed me , haha)

  • Custom User Avatar

    not the "python" way (that "compression" routine is embarracing , compared with HKMT's 1-liner) but it works...

  • Custom User Avatar

    prettyresult -> bad clean up, used for debugging...

  • Custom User Avatar

    (Python) Great Kata, but I got a feeling there's not enough random tests and hence I think my code isn't entirely full proof. (comments welcome!)

  • Custom User Avatar

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

  • Custom User Avatar

    Damnit, I'm almost there. (works but times out)

    I just need a formula to calculate how many combinations (wether true or false doesn't matter)

    I can make of a (remaining) part of the equation, to speed up things...

    I get weird numbers when I do it with the solver:
    for x times True and (x-1) times & :
    on the 4, 8 and 16 times True I get odd results. The rest are even.

    (I only went to 16, next would have taken 10 minutes or so)

    What college degree math theory am I missing here? (math noob here)

  • Loading more items...