Zonal Computing Olympiad is round 1 out of 3 (i.e. beginner) for selection into Indian IOI team.
Why do u think the solution to be under TLE ?
i didn't get it sir.....!! In worst case if k> (a -a[N] ) it will be a n^2 complexity....!!!