hdu 1166 敌兵布阵

第一次写关于线段数的题目 初步了解一下 线段树的单点更新. node表示序号 num为价值(即为里面区间的数的和)   #include<bits/stdc++.h> using namespace std; int n,num[50010*3+10],a[50010],b,c; string s; void build(int begin,int end,int node)//建立一个线段树
相关文章
相关标签/搜索