摘要: ╮(╯▽╰)╭数学渣就是被虐。。。http://blog.csdn.net/popoqqq/article/details/42739963 其实推导过程中用了生成函数。#include#include#include#include#include#include#include#... 阅读全文
posted @ 2015-04-01 21:43 <Dash> 阅读(130) 评论(0) 推荐(0)
摘要: 线段树区间增值+区间查询模板。#include#include#include#include#include#include#include#include#includeconst int MAXN = 100005;int n , q, a[MAXN] = {0};struct... 阅读全文
posted @ 2015-04-01 20:20 <Dash> 阅读(110) 评论(0) 推荐(0)
摘要: http://hihocoder.com/contest/hiho39/problem/1#逆序对裸题,水题#include#include#include#include#include#include#include#include#include#define LowBit(x... 阅读全文
posted @ 2015-04-01 17:37 <Dash> 阅读(115) 评论(0) 推荐(0)