#D6196. Best Matched Pair
Best Matched Pair
Best Matched Pair
Example
Input
2 1 2
Output
2
inputFormat
Input
2 1 2
outputFormat
Output
2
样例
2
1 2
2
Example
Input
2 1 2
Output
2
Input
2 1 2
Output
2
2
1 2
2
By signing up a OpenJudge universal account, you can submit code and join discussions in all online judging services provided by us.