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.
I don't think the comment 'we do not recommend general use of these functions' applies, becaue this is not one of those undocumented internal-use builtins.
Should this be best practice? In gcc project they say:
"GCC provides a large number of built-in functions other than the ones mentioned above. Some of these are for internal use in the processing of exceptions or variable-length argument lists and are not documented here because they may change from time to time; we do not recommend general use of these functions."
https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html
What the hell? How is that clever
it's not fair
@B4B You still didn't mark it as spoiler! x/
This comment is hidden because it contains spoiler information about the solution
It doesn't compile in another compilers. For example try to compile it into Visual Studio C++
Also, the implementation it's not yours. You're using a builtin function that only the GCC compiler has implemented. So, I must say that it's only a nice trick. But must not be considered best practice by no means.
It's faster than other implementations (including mine)? YES
Has been implemented by you? NO
Must be considered a solution to the exercise? NO!
It works, right?
This comment is hidden because it contains spoiler information about the solution
Enabled Python 3.6.
That description is for C misleading and is no help at all. I think there is something missing to.
having the same issue, trying to solve it in C.
while all random test pass only this one throws a signal code 11.
as sample test it passes too.
verify_fixed(no_space("8 j 8 mBliB8g imjB8B8 jl B"), "8j8mBliB8gimjB8B8jlB");