TLE in both subtasks

This post was flagged by the community and is temporarily hidden.

the problem is in ongoing contest , i think you can ask for doubts regarding questions in their comment sections (below the problem page) but not directly solution . wait for the contest to end.

you should post it after 3:00 PM