June 2020 Cook Off - Per Capita Income - TLE help

Can someone say why am I getting TLE in this solution? - https://www.codechef.com/viewsolution/34618586

3 Likes

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

I never asked for a video solution. Please read the post before answering.

3 Likes

I implemented the same as your video solution still got TLE.

Bro it’s AC actually.