Run error in Min Query-I in segment tree

Not getting the reason of run-error for code present at https://ide.codingblocks.com/s/156118. 0-indexing is used in the code.

1 Like