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.
Right, the end-handling of blocking the intersection is different by necessity (just imagine beyond the end is a cliff that cars fall off so the exit from the intersection is never blocked!). Anyway, the rules for those scenarios are covered by the spec:
great task for people, but I think it shoul be 6kyu just because of its condition
I may agree that a gap emerge when two cars pass green.
But it's strange, the same thing don't happen at the end , the first car just annihilates.
Also strange that the car cannot enter green a crossroad cars just after the crossroad are blocked - really they do so, creating mess :)
This comment is hidden because it contains spoiler information about the solution
Which rules seem counter-intuitive?
Very elegant kata both in single- and multicar versions.
However, rules to pass green , especially at the end, seems counterintuitive for me
and demand additional handling, only to pass the tests
amazing !
:O
Which museum did provide you with this C syntax? :D
I see there are some sadists on the CW?)
both branches do indexing, and the one that's crashing is the one that's "too big" (you can tell from the error message)
print them
Hi, so my code has passed 5 tests, and is failing in 'Rotor malfunction' saying that the string is out of index but I don't know how since I put a conditional to avoid that. I can't try that test since it doesn't mentions the rotors, can someone help me with this? Like, I'm trying to see what I can fix but it doesn't gives me very much information
Sorry my bad, by actually popping values the lists in the final tests result always empty, maybe returning a copy of them.
I got same solution
You're right, random tests can generate 0 for every variable in TS. This seems to have been fixed for JS, but not TS :/ You should raise a new issue about this.
Edit: updated TS random tests to be in line with other languages (no more zeros :P)
Loading more items...