Ad
  • Custom User Avatar

    Hi, Nice Kata. How many larger random tests there are?

  • Custom User Avatar

    Thanks for the hours of fun with this series!!!

  • Custom User Avatar

    A lot of fun from this kata. Most of time is consumed researching the math to create routes and measure distance. Visualizer from Blind4Basics is very useful for debug, took it as a base and added code to display my solution, routes, discarded routes. That help me to locate my error.

  • Custom User Avatar

    Very nice kata, thank you guys.

  • Custom User Avatar
  • Custom User Avatar

    I wonder if it is the same i am failing, i do not understand why it is not valid.

        +-+    
        | |    
        ++++   
        ++++   
       X+++    
         +---X 
    
  • Custom User Avatar

    Nice Kata, maybe needs a better explanation of a leak.

  • Custom User Avatar

    Nice one, thanks!!

  • 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

    very, very nice kata!!!

  • Custom User Avatar

    Thanks, finally finish the kata,really nice one. I learned a few things on this one. I still don't know what was happening but suddenly time decresed with no change. By the way, what I meant in my comment was not the compiling time, but the time after bf code was executed and the time the function to transpile was called. I guess the code is compiled only once before the first call and not between the call of subsequent tests :)

  • Custom User Avatar

    Hi, I have a solution that pass the test but takes ~12000 ms (i still dont know why) , First I though it was regex, so i made a manual tokenizer, no change so i did change 'if then else if' to select command and made a function map , no luck either, so I measure My transpile excution (~50 microseconds), BF execution (~30 microsecond ) and the time between the end of the BF execution to the my first line of my code of th next test (~1100 microseconds). Any suggestion of what is going on???

    Seems the time is not consumed by my code or the BF execution;

  • Custom User Avatar

    need to fix c++ random cases. Just move srand out of the loop as the time is too short (less than a second) and generator receives always the same seed (current time) and provide the same number (the first of the sequence of that particular seed). Leave it of the loop and the problem will be corrcted. Did not make the correction myself as i'm not familiar with the kata editor options and did not want to mess this good kata. ;)

  • Custom User Avatar

    Saw your comment and made mine non recursive :)

  • Loading more items...