Can you tell whats wrong with my code?
hello @akash_281
a)
start i from n-2
b) use llong long for water variable
c) declare all ur array as
int array[n]={0} instead of int array[10000]
hello @akash_281
a)
start i from n-2
b) use llong long for water variable
c) declare all ur array as
int array[n]={0} instead of int array[10000]