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.
It might be nice to add a note to the task description that the algorithm should perform well in the worst possible scenarios. I was expecting the input cases to be more random where some specific spatial data structures could be useful but then I saw this mesh of death with ~20k intersecting lines 😅 I wish I had known this test beforehand 😄
The number of random tests for Java needs to be increased.
This solution fails roughly once every 20000 random tests (estimated), but it often passes as there are only 150 random tests currently.
I tried my hand at making an appropriate C translation.
Since this is my first C translation it should be reviewed carefully.
Random tests are too weak: incorrect solutions like this can still pass after repeated submissions.
At least the number of random tests should be bumped up, or more difficult random test cases should be generated.
Test fixture needs fixing (sample tests have this error too):
This is blocking the kata from being updated to Python 3.11.
The description is not displaying powers correctly, like
232
->2^32
and109
->10^9
.TODO:
getrandom(2)
See test cases for https://www.codewars.com/kata/636b75101b60ba002e3953e2
TODO:
getrandom(2)
See test cases for https://www.codewars.com/kata/636b75101b60ba002e3953e2
TODO:
getrandom(2)
See test cases for https://www.codewars.com/kata/636b75101b60ba002e3953e2
TODO:
getrandom(2)
See test cases for https://www.codewars.com/kata/636b75101b60ba002e3953e2
Incomplete floating point values are printed in case of errors in Rust test cases. For example, for underlying values
-1152921504606846848.0
(left) and-1152921504606846976.0
(right) I get the following assertion:Neither of the values printed to screen represent the values stored in memory. I suggest something like:
The completed count for this kata has stalled. Suggest to move it to 5 kyu, because it seems only few rank it as 6 after reading the description.
Very informative kata, thanks to @dramforever! Pity it has not received much attention over the last five years.
Here are some minor issues:
Function and variable names should use
camelCase
.Node v18 should be enabled.
chai
andassert
should be used.I found this problem very interesting (I have never attented a logic class, so I always enjoy this kind of exercise where I can learn a bit more about the topic).
But I must admit I find the exercises too short w.r.t. the length of the "details" section. Would it be possible to reason more about the system (in this kata, or another)? That would allow to better understand the system, and have more fun playing with it.
I think I'm stumped by myself; there's a bug in the test code that I can't figure out, and it prevents the tests from actually running.
This wasn't even supposed to be the exploit :(
Loading more items...