1 test case not passing

One test case is not passing, pls help.
LINK : https://ide.codingblocks.com/s/194110

@vmanav Change line 9 to if((a[0] <= a[1])&&(chotaSortedHaiYaNahi)) and then check.

it says “-10^9 < i < 10^9, where i is an element of the array”…
so what should be the datatype i should use for storing such number…?

int will work for it…since you are not performing any multiplication or addition with data.

1 Like