Can you provide me hints to overcome TLE?

Revision en2, by Evan_Shareef, 2022-07-21 23:06:22
**Solution link:** https://ideone.com/Mf1Igo  

**Problem Link:** https://www.spoj.com/problems/INVESORT/

**Verdict:** TLE
Tags bfs

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English Evan_Shareef 2022-07-21 23:07:39 31
en2 English Evan_Shareef 2022-07-21 23:06:22 76
en1 English Evan_Shareef 2022-07-21 23:04:45 150 Initial revision (published)