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 $ /in/main.c:114:20: runtime error: null pointer passed as argument 1, which is declared to never be null /usr/include/string.h:137:33: note: nonnull attribute specified here /in/main.c:114:20: runtime error: null pointer passed as argument 1, which is declared to never be null /usr/include/string.h:137:33: note: nonnull attribute specified here SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /in/main.c:114:20 in AddressSanitizer:DEADLYSIGNAL ================================================================= ==5605==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x0000004b24cb bp 0x7fff42f92290 sp 0x7fff42f91a00 T0) ==5605==The signal is caused by a READ memory access. ==5605==Hint: address points to the zero page. SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /in/main.c:114:20 in AddressSanitizer:DEADLYSIGNAL ================================================================= ==5606==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x0000004b24cb
JOJ Answer
mumsh $ error: missing program mumsh $ exit