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
< M A T L A B (R) > Copyright 1984-2018 The MathWorks, Inc. R2018a (9.4.0.813654) 64-bit (glnxa64) February 23, 2018 For online documentation, see http://www.mathworks.com/support For product information, visit www.mathworks.com. 3 2 6 8 4 1 3 5 3 2 6 8 4 1 3 5 19 9 4 36 64 16 1 9 25 361 >>
JOJ Answer
< M A T L A B (R) > Copyright 1984-2018 The MathWorks, Inc. R2018a (9.4.0.813654) 64-bit (glnxa64) February 23, 2018 For online documentation, see http://www.mathworks.com/support For product information, visit www.mathworks.com. 3 2 6 8 4 1 3 5 3 2 6 8 4 1 3 5 19 81 2 216 32768 4 1 3 5 1.3333 0.5000 0.5000 0.6250 3 2 6 8 3 2 6 8 4 1 3 5 12 2 18 40 12 2 18 40 72 3 2 6 8 4 1 3 5 72 0 >>