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 $ AddressSanitizer:DEADLYSIGNAL ================================================================= ==8705==ERROR: AddressSanitizer: SEGV on unknown address 0x0000015c8000 (pc 0x00000051ba9d bp 0x7ffef06d9670 sp 0x7ffef06d9630 T0) ==8705==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 0x7f0ab9165b96 (/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) ==8705==ABORTING
JOJ Answer
mumsh $ exit