摘要: 一. 区间最大最小值问题 1. RMQint mx[N][20]; //最多能保存524288的长度int RMQ(int l, int r) { int k = 0; while (1> 1; build (lson); bu... 阅读全文
posted @ 2015-09-20 21:23 Running_Time 阅读(148) 评论(0) 推荐(0)
摘要: 题目传送门题意:简单来说就是sn = sn-1 + sn-2递推而来,求其中所有c字符的:∑i#include #include #include #include #include using namespace std;typedef long long ll;const int N = 201... 阅读全文
posted @ 2015-09-20 21:05 Running_Time 阅读(219) 评论(0) 推荐(0)