1.
A set
of
single
gie non-zero scator is
Answers
Answered by
1
Answer:
this is answer
Step-by-step explanation:
Input: N = 4, arr[] = {0, 1, 2, 3}
Output: 1
Explanation:
As product of all elements of the array is zero
Increment the array element 0 by 1, such that array sum and product is not equal to zero.
Input: N = 4, arr[] = {-1, -1, 0, 0}
Output: 3
Explanation:
As product of all elements of the array is zero
Increment the array element 2 and 3 by 1, such that array sum and product is not equal to zero
Answered by
1
Step-by-step explanation:
huusjsjjzjzhzhhxhxh
msmxmxmxm
xkkxm
zmm
jxk
mxmx
Similar questions