+ 2
Help me. What's wrong with my code???
3 ответов
+ 3
Line 8 should loop to m not m-1 to fully initialize the array. Line 15 loop to i-1 not n-1.
+ 3
Thanks you for attention, but I could myself
+ 2
Your 2nd for loop is wrong. See my solution here.
https://code.sololearn.com/cmg0K6Ah54km/?ref=app