码迷,mamicode.com
首页 >  
搜索关键字:树状    ( 5251个结果
BZOJ1452 count (树状数组)
一道比较水的二维树状数组,开100个即可,只有100种颜色还是比较EZ的。 1 Program BZOJ1452; 2 const maxn=308; 3 maxc=108; 4 var a:array[0..maxn,0..maxn,0..maxc] of longint; 5 ...
分类:编程语言   时间:2014-12-27 10:04:36    阅读次数:174
获取一个程序 指定的子窗口或控件
用过spy++ 的应该都知道 , 一个程序的窗口, 都是一种树状结构 , 代码如下,如有错误, 还请指正// 子窗口从1开始索引 ,最后添加0,代表查找结束 , 如获取父窗口的 第二个子窗口下的 , 第三个子窗口 , 参数如下(f,2,3,0)HWND getSubWindow(HWND fath....
分类:其他好文   时间:2014-12-26 22:56:45    阅读次数:172
AC dreamoj 1011 树状数组+hash维护字符串的前缀和
http://acdream.info/problem?pid=1019 Problem Description Now we have a long long string, and we will have two kinds of operation on it. C i y : change the ith letter to y. Q i j : check whet...
分类:编程语言   时间:2014-12-26 16:41:35    阅读次数:338
文件系统知识点总结
文件系统知识点总结UNIX的文件系统是树状结构,一般指在一个逻辑卷上的文件的集合。从根开始,从表面上看,文件系统好象是一个整体,但实际上,文件系统可以分成不同的部分,单独占据一块逻辑卷,就是一个文件系统。“/”根文件系统“/usr”,“/sbin”操作系统的一部分。“/opt..
分类:其他好文   时间:2014-12-25 18:46:04    阅读次数:186
poj-1195
二维树状数组应用 http://poj.org/problem?id=1195 #include #include #include #include #include #include #include #include #include #include #include using namespace std; int s; int p[1030][10...
分类:其他好文   时间:2014-12-25 16:35:07    阅读次数:190
Ping pong
Ping pong Description N(3N20000) ping pong players live along a west-east street(consider the street as a line segment). Each player has a unique skill rank. To improve their skill...
分类:其他好文   时间:2014-12-24 22:50:18    阅读次数:178
HDU 5147 Sequence II 树状数组水题
无聊咯,学某y,水一发给你n个数的排列,A[1]到A[n],统计多少四元组(a,b,c,d)满足,1 2 #include 3 #include 4 typedef long long ll; 5 const int maxn=5e4+10; 6 int T,n,a[maxn],c[maxn],l[...
分类:编程语言   时间:2014-12-24 17:42:31    阅读次数:172
树状数组+逆序数与顺序数——HDU 2492
树状数组+逆序数与顺序数...
分类:编程语言   时间:2014-12-23 15:38:50    阅读次数:257
hdu5147 (sequence 2) 树状数组
1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 #define INF 0x7fffffff 9 #define MOD 100000000710 11 12 #.....
分类:编程语言   时间:2014-12-23 00:09:29    阅读次数:226
c# 递归、树状结构
1、树状结构 treeView.Nodes.Clear(); TreeNode tree = new TreeNode(); tree.Text = "字母"; treeView.Nodes.Add(tree);...
分类:Windows程序   时间:2014-12-22 21:01:54    阅读次数:258
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!