E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
LowBit
Pku 2985 The k-th Largest Group
Pku2985Thek-thLargestGroup#include using namespace std;int n, m;#define N 200010#define
lowbit
(x) (
算法学习
·
2009-07-14 13:00
pku1195 Mobile phones
pku1195Mobilephones#includeusing namespace std;int N;int s[1100][1100];int
lowbit
(int x){ return x
xfstart07
·
2009-06-28 02:00
pku2155 Matrix
pku2155Matrix二维树状数组:#includeusing namespace std;int N,M;int a[1010][1010];char s[2];int
lowbit
(int x)
xfstart07
·
2009-06-28 01:00
vijos.1320 清点人数
清点人数01 #include02 using namespace std;0304 int n,m;05 int c[500010]={0};06 int x,y,z;07 char ch;08 int
lowbit
xfstart07
·
2009-05-29 23:00
ural 1090. In the army now
ural1090.Inthearmynow#includeusing namespace std;int n,k,a;int c[10001];int MAX,I;int
lowbit
(int x){
xfstart07
·
2009-05-29 23:00
tju3243 Blocked Road
tju3243BlockedRoad#includeusing namespace std;int n,m;int cc[100010],c[100010];int bo[100010];inline int
lowbit
xfstart07
·
2009-05-02 08:00
有关树状数组
有关树状数组一维树状数组基本构造:一维树状数组#define
lowbit
(x) ( (x)&(-(x)) )void update( int pos, int value ) // 更新
算法学习
·
2009-04-10 15:00
树状数组
pid=1166#include#define MAX 50001#define
lowbit
(x) (x&(-x))int sum[MAX],tree[MAX];int query(int x){
A Crazy Man
·
2009-03-15 20:00
树状数组
树状数组class TreeArray{ int c[1100000]; // element id must start at 1 int size; int
lowbit
(int
Try Again
·
2009-03-13 11:00
URAL 1028. Stars
namespace std; 3 int n; 4 int star[15011][2]; 5 int num[15011]; 6 int t[40011]; 7 int ans[15011]; 8 9 int
lowbit
Standing on Shoulders of Giants
·
2008-11-10 20:00
一,二维树状数组的基本操作
代码如下:int c[MAX];int cc[MAX][MAX];int
lowbit
(int x){ return x&(-x);}int n;int getsum(int i){
Headacher
·
2008-11-01 00:00
PKU1195 Mobile phones - 二维树状数组
(N#include #define clr(a) memset(a,0,sizeof(a))#define N 1030int c[N][N];int n;int
lowbit
(int x){
tiaotiaoyly
·
2008-09-03 10:00
hd 1892 See you~
include //#include //#include using namespace std;#define MAX 1002int map[MAX][MAX];int sum[MAX][MAX];int
Lowbit
LuckilyYu
·
2008-05-01 11:00
c
上一页
9
10
11
12
13
14
15
16
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他