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.
好兄弟,这玩意怎么证明的知道吗?我菜狗只能用递归
very good kata!!!
it means your code is wrong:
full_text
orsearch_text
are empty0
for"baa", "aa", false
strlen()
in a loop)should_handle_empty_strings
Test Crashed
Caught unexpected signal: SIGSEGV (11). Invalid memory access.c
what does the mean???
should_pass_some_random_tests
search_substr("daeddbecdacbaddadcbecbbceddacedbacedbaaebaaddadddeeccbabbacdecbebdacaaddcaccbcdbecdbddabdccabaeedecbccebddebbccaeadabdbbcabdbddbcccbbcabaecddbaeceeacddcdacbdadceabdebeccccaddbccbcbbddbdbdddbcadddabceabbcaeecbccadaabadeaccceddedbbccdaeaadedaddaaecacdabbacbdbeeaddaddaadbeeaebaaddacadaabbaeccecabcabdeaedadbceacbedeeaccdceaddcaadddedeeadadeaaabababeebddbbdabeaaeededeceedbbadebaacadaabcebddcdcdedcaadbabcaebccdecbaccebbcbadbdeececcaceedadccdbeadeecaccecaabeeaabdceebeebbcaedcdcdcabeedbbbcaececeabdeceaeebdbbcaecdabbecabaeebdabbdaddcdeaddcaabdddbbcbbebcacaaabecceeadbaddadbabacaeaddbbdadbacccebdbbebaadabbedaedacbdacdbaaacebaecbaadaaecbdcbeabbebedecdbecaacbeacbecbabadbb", "baa", false) should return 7, actual: 3
The return is 7 ?????,when the " overlap" is 'false'; but I use that 'overlap' eque to true, then i got result 7.
This usually means your code performs division by 0, but its difficult to tell without seeing your code.
Test Crashed
Caught unexpected signal: SIGFPE (8). Erroneous arithmetic operation.
allways this error; My code running fine in VSCode/GCC.
There is an
'M'
in the string.Is these something wrong?, C language, No 'm' or 'M' in the test string.
Random_Tests
should_pass_all_the_tests_provided
"pzOBAiHPDQUg8EL6ilaIufonTFbYjXSFRKwkt:ZcVPsSgxG#MId"
Submitted false
Expected true
That generally means you tried accessing something out of bounds.
It is C implementation
Anyone know why this error?
Test Crashed
Caught unexpected signal: SIGSEGV (11). Invalid memory access.
太牛逼了