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 did a while loop in for loop, but I kept getting time out...
So does it mean I can never solve this problem?
I kept getting this "Caught unexpected signal: SIGSEGV (11). Invalid memory access."
but when I test in my computer, it works
This comment is hidden because it contains spoiler information about the solution
I mean if it's just for code that'll do
This comment is hidden because it contains spoiler information about the solution
In C, you should allocate your answer properly, there won't be any problem with it