Wrong Answer 15% why in java help me

Rezaul Karim asked 1 year ago

Problem Solve Code removed ...

This topic was solved and cannot recieve new replies.

  • João Castilho replied 1 year ago

    Hello Rezaul, the position of the highest number has to be p + 1. According to the example of the question, the highest value is in position 3 of the array, so 4 must be printed.