Unranking of permutation

Правка en1, от ambar003, 2016-08-23 00:25:32

501D - Миша и сложение перестановок 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?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский ambar003 2016-08-23 00:25:32 346 Initial revision (published)