my code is giving tle
Histogram area problem
my ans is coming 42 but it should be 12
getting run error while submitting
getting the correct ans but when I am submitting the code then i am getting run error
pls share ur updated code .i will check.
use cb ide for code sharing
increase ur array size.
check maximum value of n and declare ur array size accordingly
ok thank you it worked
