Notes
This function is in beta test. Please help improve it in the issues
here.
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.
Please double check your code to solve this problem and try again.
Your Answer
mumsh $ 123 mumsh $ mumsh $ AddressSanitizer:DEADLYSIGNAL ================================================================= ==6625==ERROR: AddressSanitizer: SEGV on unknown address 0x0000015c8000 (pc 0x00000051ba9d bp 0x7fff53a13470 sp 0x7fff53a13430 T0) ==6625==The signal is caused by a WRITE memory access. #0 0x51ba9c (/out/package/mumsh_memory_check+0x51ba9c) #1 0x518567 (/out/package/mumsh_memory_check+0x518567) #2 0x51e34b (/out/package/mumsh_memory_check+0x51e34b) #3 0x7fcffbaccb96 (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #4 0x41cff9 (/out/package/mumsh_memory_check+0x41cff9) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV (/out/package/mumsh_memory_check+0x51ba9c) ==6625==ABORTING
JOJ Answer
mumsh $ 123 mumsh $ mumsh $ exit