i am not able to find why i am getting TLE in subtask -4 of this problem.
Please help me out with this issue.
Add fast IO at the start of main:
thanks for the help!
I want to refer you to this answer: