Histogram445699

https://ide.codingblocks.com/s/56953
it is showing wrong answer although answer is correct while running on online ide

Hey Aastha, check the constraints given in the problem carefully, it is given that 1<=N<=10^6 Height of each bar in histogram <= 10^9, So you are supposed to use long long int data type instead of int for such large numbers.