can a[i] be negative integer in this question?
Constraints
1<=a[i]<=10^9
and in subtask it is written as a[i]<=10
can a[i] be negative integer in this question?
Constraints
1<=a[i]<=10^9
and in subtask it is written as a[i]<=10
No I don’t think so, its positive everywhere
no , it is mentioned in the main subtask.