Sichuan State Programming Contest 2012 C。Counting Pair

http://acm.hust.edu.cn/vjudge/contest/view.action?cid=118254#problem/C

其实这道题目不难。。。就是没有仔细分析。。。

我们可以发现,能配对的数目是最小的那个数值-1.然后就没然后了= =

原文地址:https://www.cnblogs.com/heimao5027/p/5540033.html