题解 1286: 最大配对

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

1286: 最大配对

```cpp#include#includeusingnamespacestd;constintN=1e5+10;inta[N],b[N];intmain(){intn;cin>>n;for(inti=0;i>a[i];for(inti=0;i>b[i];sort(a,

最大配对(C++)

摘要:解题思路:一个正数排序              一个倒数排序               一一配对减          &

1286: 最大配对

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>#include<iomanip>#include<algorithm>using namespace ……