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.
whenever i try to do any operation on the 2d vector like .size() this error appears, i just don't know cause every thing is fine on my compiler (i used the same function provided here)
UndefinedBehaviorSanitizer:DEADLYSIGNAL
==1==ERROR: UndefinedBehaviorSanitizer: SEGV on unknown address 0xfffffffffffffffc (pc 0x000000425576 bp 0x000000000004 sp 0x7fff0e55f210 T1)
==1==The signal is caused by a READ memory access.
==1==WARNING: invalid path to external symbolizer!
==1==WARNING: Failed to use and restart external symbolizer!
#0 0x425575 (/workspace/test+0x425575)
#1 0x428826 (/workspace/test+0x428826)
#2 0x42696e (/workspace/test+0x42696e)
#3 0x4264f8 (/workspace/test+0x4264f8)
#4 0x4260cb (/workspace/test+0x4260cb)
#5 0x42be15 (/workspace/test+0x42be15)
#6 0x4257ed (/workspace/test+0x4257ed)
#7 0x7f14d85a0b96 (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#8 0x404489 (/workspace/test+0x404489)
UndefinedBehaviorSanitizer can not provide additional info.
==1==ABORTING
There's an issue with C++ empty matrix test
the compiler isn't detecting this case
if(snail_map[0].size()==0)
return ans;
where ans is an empty vector
My code is working on visual studio on empty matrix or any matrix