HDU - 1698 Just a Hook (線段樹區間修改+lazy標記)

#include <bits/stdc++.h> using namespace std; typedef long long ll; struct node { ll l, r, sum; }a[400005]; ll lazy[400005]; ll num[100005]; void build(ll loc, ll l, ll r) { if(l == r) {
相關文章
相關標籤/搜索