Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Hi, Nice Kata. How many larger random tests there are?
Thanks for the hours of fun with this series!!!
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.
Very nice kata, thank you guys.
Nice Kata!!
I wonder if it is the same i am failing, i do not understand why it is not valid.
Nice Kata, maybe needs a better explanation of a leak.
Nice one, thanks!!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
very, very nice kata!!!
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 :)
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;
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. ;)
Saw your comment and made mine non recursive :)
Loading more items...