DOubt in this question

What is the error in this question please correct kr doo

hi @manurps33
code is correct make array size bigger
initialize with INT_MIN (WHEN ALL VALUE ARE NEGATIVE)

`
long long int max=INT_MIN;

long long int a[1000000];
`

can you please write in code

can you please write in code i am not under as much

@manurps33,
check here https://ide.codingblocks.com/s/660782