0

help solve the error 🙏

The usual merge of two arrays through a third array. Why does the compiler swear over 40-41 lines? https://code.sololearn.com/cYouJ6n0G30Z/?ref=app

9th Jun 2020, 8:53 PM
shiryaeva
shiryaeva - avatar
1 Odpowiedź
+ 2
Lines 37, 42 and 46: You need i and j < n, not <= n.
9th Jun 2020, 9:12 PM
Russ
Russ - avatar