i am not able to find why i am getting TLE in subtask -4 of this problem.
problem link:-STICNOT Problem - CodeChef
code link:-CodeChef: Practical coding for everyone
Please help me out with this issue.
denjell
2
Add fast IO at the start of main:
std::ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
I want to refer you to this answer:
and…