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 isn't an issue. An issue is a bug with a kata. This problem is caused by your code. Your code crashes when the input is an empty vector.
I think this kata should be at level 7, but not at level 6
i get this error over and over
UndefinedBehaviorSanitizer:DEADLYSIGNAL
==1==ERROR: UndefinedBehaviorSanitizer: SEGV on unknown address 0x000000000000 (pc 0x000000425435 bp 0x7ffc2eb9db58 sp 0x7ffc2eb9db40 T1)
==1==The signal is caused by a READ memory access.
==1==Hint: address points to the zero page.
==1==WARNING: invalid path to external symbolizer!
==1==WARNING: Failed to use and restart external symbolizer!
#0 0x425434 (/workspace/test+0x425434)
#1 0x427ec4 (/workspace/test+0x427ec4)
#2 0x42679e (/workspace/test+0x42679e)
#3 0x4262fa (/workspace/test+0x4262fa)
#4 0x425ebb (/workspace/test+0x425ebb)
#5 0x42af95 (/workspace/test+0x42af95)
#6 0x4255cd (/workspace/test+0x4255cd)
#7 0x7f575501fc86 (/lib/x86_64-linux-gnu/libc.so.6+0x21c86)
#8 0x4044d9 (/workspace/test+0x4044d9)
UndefinedBehaviorSanitizer can not provide additional info.
==1==ABORTING
how long did it take to reach your rank and do you code professionally
It mentions 3 different input values in the description and it shows 3 arguments in the initial code, could you clarify what do you mean?
you dont make it very obvious that the numbers can be more than one
This comment is hidden because it contains spoiler information about the solution