prob: https://atcoder.jp/contests/abc193/tasks/abc193_b
code: https://ide.codingblocks.com/s/432440
hello @raghav007
in line 22 , it should be INT_MAX in place of INT_MIN