摘要: n #include#include#include#include#define rep( i , n ) for( int i = 0 ; i S;int main() { freopen( "test.in" , "r" , stdin ); int n; cin >> n; rep( i... 阅读全文
posted @ 2015-06-16 22:03 JSZX11556 阅读(258) 评论(0) 推荐(0) 编辑
摘要: kpm大神说可以用块状链表写...但是我不会...写了个splay....先离散化 , 然后splay结点加个min维护最小值 , 就可以了...( ps BZOJ 3506 题意一样 , 双倍经验 )-------------------------------------------------... 阅读全文
posted @ 2015-06-16 14:37 JSZX11556 阅读(222) 评论(0) 推荐(0) 编辑