- 1
Code working fine........Time limit exceeded while submitting...........what to do????????? Please help me
question link: https://www.codechef.com/problems/TSORT my solution: https://code.sololearn.com/czXDH63ytnxY please see it , as far as I have seen it works fine but while submitting solution their compiler gave me Time Limit exceeded............. please help me to cover it........
2 Respuestas
+ 4
TLE occurs when all testcases aren't satisfied within the time limit.
Here are some ways..
https://www.includehelp.com/icp/how-to-overcome-tle-in-competitive-programming.aspx
https://www.geeksforgeeks.org/overcome-time-limit-exceedtle/
0
I think you can use standard sort function of gcc
sort(store.begin(), store.end())
Then print store