可合并堆。。。BZOJ1078
//写题最爽的还是对题意的分析呀
//http://www.cppblog.com/MatoNo1/archive/2013/03/03/192131.html
//看了别人的分析才会写的
#include
#include
#include
#include
using namespace std;
const int maxn=105;
int l[maxn],r[maxn
原创
2015-08-04 01:59:41 ·
869 阅读 ·
0 评论