Code working fine........Time limit exceeded while submitting...........what to do????????? Please help me | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 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........

23rd May 2021, 2:54 PM
saurabh
saurabh - avatar
2 Answers
23rd May 2021, 3:45 PM
Aditya
Aditya - avatar
0
I think you can use standard sort function of gcc sort(store.begin(), store.end()) Then print store
23rd May 2021, 4:02 PM
YUGRAJ