my solution here to the INTEG problem is giving me time limit exceeded and I cant figure out why or even give an example that produces TLE I checked the editorial and I believe I am using the approach described . pleas help! thanks.
edit: I tried running very large input and it terminates in a small time.