08 2017 档案
摘要:#include <bits/stdc++.h> #define DBG(x) cerr << #x << " = " << x << endl typedef long long LL; using namespace std; const int N = 512; LL ans[N][128],
阅读全文
摘要:#include <bits/stdc++.h> #define DBG(x) cerr << #x << " = " << x << endl typedef long long LL; using namespace std; const int MAX_SUM = 250000 + 16; c
阅读全文
摘要:令$sum(l, r) = \sum\limits_{i \in [l, r]} a_i$,求$\max{\min_ra_i \times sum(l, r) \ |\ 1 \le l \le r \le n }$。 对于每一个$a_i$,用单调栈维护出一个长度最大的区间$[L_i, R_i]\(,
阅读全文
摘要:#include <bits/stdc++.h> #define DBG(x) cerr << #x << " = " << x << endl typedef long long LL; using namespace std; int main(int argc, char **argv) {
阅读全文
摘要:远程连接Mysql时发生错误,提示为ERROR 1030 (HY000): Got error 28 from storage engine. Google这个错误说是由于硬盘满了,连接到服务器上查了一下发现果然是这样。 然后开始猜测发生的原因。 之前的几个月服务器上只运行着Web应用,而且很稳定,
阅读全文

浙公网安备 33010602011771号