[51NOD] 1065 最小正子段和

前缀和加SET维护 O(n + nlog(n))   结果不能为零 白下了一组数据...   set中的查找: set<#>iterator it = ST.lower_bound(x); #include <bits/stdc++.h> using namespace std; typedef long long ll; const int MAXN = 1e6 + 10; const ll
相关文章
相关标签/搜索