The discription mixes "space" and "whitespace" in an unclear manner.
Leading and trailing whitespace is also allowed.
yet
It should NOT match: "abc\n"
I suppose it depends on context, but from a regex perspective, I would assume "whitespace" refers to \s. I would just change everything to "spaces" for clarity.
So I was testing why my solution was timing out (can't honestly imagine how to make it faster) and I made it return just 0 and one of the advanced cases passed.
Is there really a case that requires 0 (wouldn't really make sense, per the description there is no way to make a case where 0 is correct result) or is this just some timer case that checks if you fit in the 1 second?
As @B4B already pointed out, this kata is a duplicate of https://www.codewars.com/kata/do-not-loose-at-tic-tac-toe. But that was 3 years ago and this kata has not been unpublished still now, so I was wondering what is the future of this kata, would it be unpublished eventually? Or remain in beta forever?
Python, possibly other languages: tests miss sanity checks on values returned by user solution and crash badly when an unexpected value (not a pattern, or not a valid pattern) is returned.
Python, possibly other languages: tests miss sanity checks on values returned by user solution and crash badly when an unexpected value (not a pattern, or not a valid pattern) is returned.
Python, possibly other languages: tests miss sanity checks on values returned by user solution and crash badly when an unexpected value (not a pattern, or not a valid pattern) is returned.
I get Codegolf error: Your RegEx is 119 characters long. What is this supposed to mean? It is stated that the string length is restricted to 150. My string length is well below that.
python:
the description could mention that the order of the output does not matter
The discription mixes "space" and "whitespace" in an unclear manner.
yet
I suppose it depends on context, but from a regex perspective, I would assume "whitespace" refers to
\s
. I would just change everything to "spaces" for clarity....but not always. Some of these should be added to the fixed tests.
+#
and#+
should be testedYoure
-->Your
So I was testing why my solution was timing out (can't honestly imagine how to make it faster) and I made it return just 0 and one of the advanced cases passed.
Is there really a case that requires 0 (wouldn't really make sense, per the description there is no way to make a case where 0 is correct result) or is this just some timer case that checks if you fit in the 1 second?
As @B4B already pointed out, this kata is a duplicate of https://www.codewars.com/kata/do-not-loose-at-tic-tac-toe. But that was 3 years ago and this kata has not been unpublished still now, so I was wondering what is the future of this kata, would it be unpublished eventually? Or remain in beta forever?
Prolog: Solution expects a specific (unspecified) order, while description states that order is irrelevant.
Python, possibly other languages: tests miss sanity checks on values returned by user solution and crash badly when an unexpected value (not a pattern, or not a valid pattern) is returned.
Python, possibly other languages: tests miss sanity checks on values returned by user solution and crash badly when an unexpected value (not a pattern, or not a valid pattern) is returned.
Python, possibly other languages: tests miss sanity checks on values returned by user solution and crash badly when an unexpected value (not a pattern, or not a valid pattern) is returned.
I don't understand how to count more than 250 wagons in 16s?
Python (at least): empty matrix
[]
is never tested, only[[]]
Perhaps updating the description is enough.
Since newlines are valid characters, there should be edge case tests with numbers divisible by 3 followed by one trailing newline.
I get Codegolf error: Your RegEx is 119 characters long. What is this supposed to mean? It is stated that the string length is restricted to 150. My string length is well below that.
This comment is hidden because it contains spoiler information about the solution
Loading more items...