+ 2

How it works

the array is filled with zeros. under any index - zero. then, due to what does the condition work if it refers to an array element, but any element from this array is equal to zero and therefore cannot be larger than a. why it works?? https://code.sololearn.com/cHsH9TVJnecy/?ref=app

2nd May 2020, 2:23 PM
shiryaeva
shiryaeva - avatar
1 Respuesta
0
For a dublicate and reciprocal elements, you may get changed output... Ex: 4 20 100 20 100
2nd May 2020, 9:25 PM
Jayakrishna 🇮🇳