摘要: Given a permutation which may contain repeated numbers, find its index in all the permutations of these numbers, which are ordered in lexicographical 阅读全文
posted @ 2017-11-05 10:32 jasminemzy 阅读(118) 评论(0) 推荐(0)
摘要: Given a permutation which contains no repeated number, find its index in all the permutations of these numbers, which are ordered in lexicographical o 阅读全文
posted @ 2017-11-05 09:56 jasminemzy 阅读(98) 评论(0) 推荐(0)