https://ide.codingblocks.com/s/43006
https://hack.codingblocks.com/contests/c/586/309
Wrong answer in MIN QUERY-I
https://ide.codingblocks.com/s/43149
Small mistake at line 49. I have commented the change. It is passing all cases.
https://ide.codingblocks.com/s/43149
Small mistake at line 49. I have commented the change. It is passing all cases.