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.
python new test frameworks
This comment is hidden because it contains spoiler information about the solution
done
Came up with the technical task first, then created a story to fit it.
Nice kata. Where does the idea of the lore come from ?
Fun kata :D
And finally I'm done!!! Found a couple of bugs in solution logic (lack of extra loop).
The clue was extreme logging/printing when debugging move by move and even shot by shot!
And finally I'm done!!! Found a couple of bugs in solution logic (lack of extra loop)
The clue was extreme logging/printing when debugging move by move and even shot by shot!
But still of by one sometimes in the random tests... :/
It's seems I bumped into the same issue. I pass all the test except 2-3 random tests when the result is different by 1.
Two different solutions. But probably I implement the same bug twice. BTW, with the map you posted above. I think I don't understand the shooting timing properly or... I don't know(. And can't find the clue in the instructions and comments.
Could you recall the kata and give me some hint? Though 7 years have passed:(((
"even if the targeted enemy has been killed by a previous (in the alphabetic order) turret, the shot is counted"
Don't understand( Could you clarify please?
There must be some bug in your solution. I just passed all the Example tests, all Fixed and 98 out of 100 Random tests. Need to find my own bug as well :)
"The aliens that survive are the alien at wave[7] with an ending health of 2
and the alien at wave[8] with an ending health of 8." - typo in Instructions (Test Example section). Wave[8]'s health can't be 8 since it's 0 from the start. And the same is applicable to "example_solutions = [[10,[7,2],[8,8]]..." in Sample Tests section. As for wave[7] then it's also not valid. According to my solution it has to be wave[9] and wave[10] respectively. On the other hand it still accepted because their sum is 10.
Yes, errors for crashing still happen after complications in code.
Does the issue still persist?
A server error happened recently.
No matter how hard I try attempting, the thing would just crash and say session expired.
Loading more items...