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.
impresive man
C++, when I check for invalidValues.
state > 0x7f : all valid values test are passed, invalid values fail;
state >= 0x7F : all invalid values test are passed, valid values fail;
Can someone who passed the test to expain, may be I miss something.
Damn I really need to look at the std more often.
This comment is hidden because it contains spoiler information about the solution
Flexing his shredded abs on us! Cool solution!
El resultado está claro, pero... faltaría por declarar la librería a la que corresponde la función"abs()", es decir: #include <math.h>.
I think that the result/return is understandable, but... you have not declared the library for the use of the "abs()" function, I mean: #include <math.h>.
Thanks a lot for your solution!
Excellent complexity. Large Allocations, where your solution benefits the most, shouldn't use VLAs. Large Stack Allocations will fail.
This solution adds extra spaces for new words which are allready uppercase, as far as I understood this was not the task. Also there is no allocation for on empty string which still needs termination (as far as I know strlen does not count the null termination).
I think this produces a wrong output for "abc D" which is "abc D" and I think if called with "" is undefined behaivior or system dependend
It's fancy, but it will make a function call and therefore be slower than other functions.
why 2 ?
Very smart!
Would appréciate some explanations (see my C++ solution): Actually I use a lambda and ... it appears that I could not capture the function parameter
unsigned char *packet
in the lambda.Had to copy this function parameter into a local variable.
Does any one have an explanation ?
Something to do with the CPP reference, and the note
capable of capturing variables in scope
? Meaning a parameter to a function is not in the 'scope' ?Is it actually BP to write this outside of the class declaration?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...