Original values of arr (copied from a).

m = 0, n = 1


Values of arr after chaging arr[male] to 2.

2, 1,


Values of a (originally copied to arr, not changed since).

0, 1,

Return Home