码迷,mamicode.com
首页 >  
搜索关键字:vv    ( 260个结果
ORACLE 统计查看每一个表的行数
create or replace procedure sp_static_tab /** * 统计所有表的行数 */is vv_table_name varchar2(64); vi_table_rows number; vv_sqlstr varchar2(200); cursor r_curs ...
分类:数据库   时间:2018-03-05 17:06:14    阅读次数:330
luogu2894 [USACO08FEB]酒店Hotel
跟线段树求区间最值一样每个节点维护左边开始的最大连续空房间数、右边开始的最大连续空房间数、这个区间内的最大连续空房间数 cpp include include using namespace std; int n, m, opt, uu, vv; struct SGT{ int lma[200005 ...
分类:其他好文   时间:2018-03-03 21:24:21    阅读次数:140
poj2828 Buy Tickets
倒序 处理,线段树保存有多少空位 cpp include include using namespace std; int n, ans[200005], uu[200005], vv[200005]; struct SGT{ int sum[800005]; void build(int o, i ...
分类:其他好文   时间:2018-03-03 18:10:38    阅读次数:112
poj1417 True Liars
边带权比较好做,然后dp方案 cpp include include include include include using namespace std; int n, pu, pv, uu, vv, fa[605], gx[605], cnt, bel1[605], bel2[605], dp ...
分类:其他好文   时间:2018-03-02 20:36:23    阅读次数:186
bzoj3276 磁力
算法竞赛进阶指南p219,这里是分块。 当然也可以树套树来个动态二维数点。 cpp include include include include include using namespace std; typedef long long ll; int xx, yy, n, uu, vv, bl ...
分类:其他好文   时间:2018-02-28 21:38:14    阅读次数:180
数列分块入门1~9 loj6277~6285
"hzwer的讲解" 一 给出一个长为 $n$ 的数列,以及 $n$ 个操作,操作涉及区间加法,单点查值。 cpp include include include using namespace std; int n, a[50005], opt, uu, vv, ww, tag[305], blc ...
分类:其他好文   时间:2018-02-23 23:46:17    阅读次数:210
poj 3468 A Simple Problem with Integers
可以用树状数组,线段树,分块做。代码是分块 cpp include include include using namespace std; typedef long long ll; int n, m, uu, vv, ww, blc, bel[100005], l[100005], r[1000 ...
分类:其他好文   时间:2018-02-23 19:09:40    阅读次数:158
luogu3959 宝藏
状压搜索轻轻松松就过了……考场上代码太丑了T了几个点 cpp include include include using namespace std; int n, m, uu, vv, ww, w[15][15], dis[15], dp[100005], ans; const int oo=0x ...
分类:其他好文   时间:2018-02-17 22:06:37    阅读次数:210
luogu4093 [HEOI2016/TJOI2016]序列
因为一个变化只会变化一个值,所以 $dp[i]=max(dp[j])+1,j include using namespace std; int n, m, zdz[100005], zxz[100005], a[100005], uu, vv, cnt, dp[100005], ans, rot[1 ...
分类:其他好文   时间:2018-02-13 16:46:32    阅读次数:159
luogu3380 【模板】二逼平衡树(树套树)
```cpp include include include include using namespace std; int n, m, cnt, a[50005], rot[200005], opt, ans, uu, vv, ww; struct Node{ int l, r, siz, ha ...
分类:其他好文   时间:2018-02-12 22:21:05    阅读次数:199
260条   上一页 1 ... 7 8 9 10 11 ... 26 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!