链接地址:
http://acm.pku.edu.cn/JudgeOnline/showmessage?message_id=136134
我看了半天,还没完全看懂。尤其是:
1.“the combination p is greater than the combination q if there exists any i such as that pj = qj for every j < i, and pi > qi. Your goal is to find the right place for a given picture among all possible photographs.”
2.“Fill the number of assignment instead of I (starting with one), and the number of the given photograph among all possible combinations after ordering...”
大侠们帮忙解释下,谢谢!