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
Test 20: Very Large Random Tree Depth: 6 Sum: 5561 In-order Traversal: 99 95 40 25 41 91 65 24 52 53 79 61 55 60 52 55 46 71 77 48 5 72 79 91 83 43 53 94 96 36 1 2 89 2 77 12 66 67 92 31 57 15 69 12 67 75 63 87 71 3 78 26 97 97 18 4 18 25 69 76 88 86 39 76 60 92 31 22 75 23 64 3 43 59 8 57 26 54 92 31 22 11 87 44 13 72 62 39 33 32 19 51 27 99 35 91 43 47 40 44 32 82 62 6 4 3 92 1 32
JOJ Answer
Test 20: Very Large Random Tree Depth: 12 Sum: 5561 In-order Traversal: 99 95 40 25 41 91 65 24 52 53 79 61 55 60 52 55 46 71 77 48 5 72 79 91 83 43 53 94 96 36 1 2 89 2 77 12 66 67 92 31 57 15 69 12 67 75 63 87 71 3 78 26 97 97 18 4 18 25 69 76 88 86 39 76 60 92 31 22 75 23 64 3 43 59 8 57 26 54 92 31 22 11 87 44 13 72 62 39 33 32 19 51 27 99 35 91 43 47 40 44 32 82 62 6 4 3 92 1 32