• Sorry about that.But when I made that comment, I'd no edit privilege. So, all I can do is say someone who has the same to do so.

    Try to contribute more and criticize less.
    I noticed you have not published a single Kata.

    Your tone sounds like I got paid to clean up this Beta from the forgotten land.

  • edge and point should block the light.
    added random tests to 1000.

  • Johan, can you cast your difficulty vote on the kata? hopefully this time it will be able to collect enough votes so the suggested rank will reflect the difficulty somewhat better.

    Or have you already?

  • (yeah, you're very well known for your pretty accurate rank estimations, right... XD )


  • I used the voted Rank.

    Don't go by that for old katas, as you can see from my solution the problem is around 4 - 5 kyu.

    Fixed the error in a fork.

    Are they still in fork? I guess you might not have access the edit the test cases, how did you add the random tests?

    1. Testings are inadequate as my solution fails consistently around [0 - 5] random tests.
    2. How many triangle edges are required to block the sunlight?or One have to think the sunlight as thin cylinder and triangle edges(or corners(I mean V of triangles)) would have to make angle of 360 degree to stop that?

    In any case second point is underspecified.

  • Added a figure. Changed the code.

    Thanks for the good suggestions.

  • That will be an easy fix. Any other suggestions?

  • LOL I used the voted Rank.
    However, after random tests added, most of the 27 solutions failed and got a red bar, including Voile's.
    Except for 3 solutions, including mine and the author's. I used a totally different approach from the author. So I think his code is correct. But I am not sure what's the trick other solutions are missing.
    PS: There are many cheating solutions, so 27 does not really count.

  • If you have problems visualizing it, the following picture should help:

    There's no picture.

  • Also, Node 0.10 was a version ..

  • Welcome to 2015, when Corona was a beer and rankings were what they were then. ( Also, when random tests were unheard of and example tests were optional. )

    Things change.

  • This is a 3 kyu atmost :/

    Other than the description is incomplete and badly written.

  • Time warp to the end of 2020... (No one in 2015 can imagine what happened this year)

    It's a good Kata, and a meanful problem for computer.

    I added random tests and more description. But my first submission fails sometimes due to float error in random tests. Fixed the error in a fork.

  • Loading more items...