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

20136

JOJ Answer

20136( )( -42952 30942 20759 53672 38811 -36640 -12824 33730 -65360 4511 -47512 -25028 30717 -47969 36335 -19717 -53911 41987 13385 64234 -22948 -49701 -25479 11826 -46956 31883 -20331 -3023 -41714 9235 -15068 -30830 44414 59457 -36849 16382 53581 -24495 42569 -33297 9471 9794 -1560 24275 -59179 1553 15449 -50805 -36868 -24288 24342 43699 36379 54394 -30389 -36581 -26743 -4232 )