Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr

/in/ex5.c:154:20: runtime error: null pointer passed as argument 1, which is declared to never be null
/usr/include/string.h:43:28: note: nonnull attribute specified here
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /in/ex5.c:154:20 in 
/in/src/main.c:25:16: runtime error: null pointer passed as argument 2, which is declared to never be null
/usr/include/string.h:43:28: note: nonnull attribute specified here
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /in/src/main.c:25:16 in 
/in/ex5.c:34:18: runtime error: null pointer passed as argument 2, which is declared to never be null
/usr/include/string.h:43:28: note: nonnull attribute specified here
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /in/ex5.c:34:18 in 
/in/ex5.c:61:20: runtime error: null pointer passed as argument 1, which is declared to never be null
/usr/include/string.h:43:28: note: nonnull attribute specified here
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /in/ex5.c:61:20 in 
AddressSanitizer:DEADLYSIGNA

Hints

Your answer may be identical to the JOJ answer in the first several lines.

However, the main problem you meet now is Runtime Error. And the exit code of your program is 1, which should be 0.

Please double check your code to solve this problem and try again.

Your Answer


        

JOJ Answer

n 
H n 
H L n 
H L n 
H L n 
H L Y n 
H L Y n 
L Y n 
L Q Y n 
L Q Y n 
8 L Q Y n 
8 L Q Y e n 
8 L Q Y e j n 
8 L Q Y e j l n 
8 L Q Y e j l n s 
8 L Q Y e j l n s y 
8 L Q Y e j l n q s y 
8 L Q Y e j l m n q s y 
8 L Q Y e j l m n q s y 
3 8 L Q Y e j l m n q s y 
1 3 8 L Q Y e j l m n q s y 
1 3 8 L Q Y e j l m n q s y 
1 2 3 8 L Q Y e j l m n q s y 
1 2 3 8 G L Q Y e j l m n q s y 
1 2 3 8 G L Q Y e i j l m n q s y 
1 2 3 8 G L Q T Y e i j l m n q s y 
1 2 3 8 C G L Q T Y e i j l m n q s y 
1 2 3 8 C G L Q T Y e i j l m n q s y 
1 2 3 8 C G L Q T Y e i j l m n q s y 
1 2 3 8 C G L Q Y e i j l m n q s y 
1 2 3 8 C G L Q Y e i j l m n q s y 
1 2 3 8 C G L Q Y e i j l m n q s y 
1 2 3 8 C G L Q Y e i j m n q s y 
1 2 3 8 C G L Q Y e i j m n q s y 
1 2 3 8 G L Q Y e i j m n q s y 
1 2 3 8 G L Q Y e j m n q s y 
1 2 3 8 G L Q Y e j m n q s y 
1 2 3 8 9 G L Q Y e j m n q s y 
2 3 8 9 G L Q Y e j m n q s y 
2 3 8 9 G L Q Y e j m n q s y 
2 3 8 9 G L Q Y e j m n q r s y