Record Case Detail

Notes

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

Stderr

error: user passed empty list where non-empty requried
p2: /in/driver/recursive.cpp:42: void list_checkNonEmpty(list_t): Assertion `0' failed.

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 -6, which should be 0.

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

Your Answer


        

JOJ Answer

( 51892 4300 -57040 47218 51199 -38738 -36052 23507 -32394 33455 -1906 4024 57002 25051 -48949 -51769 38399 55239 -42934 -54119 )( 48906 -64314 34892 41013 32630 53290 -3678 2855 -12477 50434 -57182 -17974 -49937 29866 43554 33831 -8978 41633 -42001 1218 )( -44384 -32656 -63115 51566 -11775 -23765 13056 12813 66 -28033 )