check the PUMPWAT problem with this test case

1
10
2 6 5 32 6 8 7 5 4 3 32
the answer which are accepted are giving wrong output with these test cases

Your test case does not conform to the input data constraints given in the problem, which specifies that no two hills are equal:

  • h_i\ne h_j for any valid i\ne j

Given this, I would expect accepted answers to yield a mix between responding 1 or 2 to this case, with perhaps a few more variations depending on the technique used.

//