Unranking of permutation

Revision en1, by ambar003, 2016-08-23 00:25:32

501D - Misha and Permutations Summation i am solving this problem. i find rank of both permutation in factorial number system. now i need to find sum of these 2 ranks and then find the permutation related to this rank. i am not able to get logic how to find permutation related to this rank i.e. unranking of permutation. can anyone explain it?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English ambar003 2016-08-23 00:25:32 346 Initial revision (published)