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.
you might be able to pinpoint where it crashes with the help of prints. make sure to flush after each print so that the text makes it out before the segfault happens.
you might also be able to run various diagnostic tools locally like valgrind asan or a debugger
you could also stare at your use of pointers some.
Yes, I think we would be able to help you if you post your code, with a spoiler flag, and properly formatted.
You can also come to Codewars Discord and ask in
#help-solve
, or#c
.Your code is wrong, but we do not know how you can fix it.