Unable to solve Find the Permutation from IARCS online judge

Revision en1, by swetanjaldatta, 2016-09-23 17:29:29

I was trying to solve this problem : http://opc.iarcs.org.in/index.php/problems/FINDPERM

I am getting 80 with 2 test cases getting TLE. Would be grateful if someone posted some hints or gave the solution to the above problem.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English swetanjaldatta 2016-09-23 17:29:29 289 Initial revision (published)