原创 線段樹的應用(最大值,區間求和)

  //線段樹中不是懶方法建立,修改(某個數據),查詢區間和(sum)與最大值(max)  #include<cstdio>  #include<iostream>  using namespace std;  const int MAXN