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.
this is the base
A really good solution!
The famous C++'s "Unsafe memory" ))
wtf ???
are you kidding me or what?
great series of katas! thank you!
very good kata
lousy kata, no higher than 8 kyu
I'd try to reproduce it locally, at the very least you should be able to find out what inputs it happens for by printing (and flushing to ensure it isn't stuck in a buffer) and probably throw ASan or similar at it to see if it notices anything. Of course, it might be something unexpected going on in the test code that you can't reproduce yourself - for which I suppose very carefully finding out how your function should behave is a start.
When i run your code against the tests and print out the indata, it turns out it does happen for an obviously special test case, so there's a good chance you don't need to dig any further than that.
This comment is hidden because it contains spoiler information about the solution
hello everyone! i'm newby in C and trying to solve this task, but failing in a random test: get SIGSEGV. what could be the reason? (code below)
great kata, thank you, i'm really learned a lot!
how many maximum digits can the numbers in the sequence have? 10^6?
👎
I'm not the first and definitely won't be the last user who DISLIKE the description of this kata. Please somebody do something to fix this
Loading more items...