Nikita and the Game

  • + 0 comments

    The editorial says " It should be noted that maximum points for a subarray can be calculated by considering only the first valid 'X' for a subarray (rather than by considering all valid 'X')"

    how can you prove it?