摘要:
void func(int n, const vector<int>& t) { auto begin = t.begin(); auto end = t.end(); auto mid = t.begin() + (end - begin) / 2; while (mid != end && *m 阅读全文
摘要:
sum 初值 为 1; if(sum>=a[i]) is true; 那么序列的取值范围为 (序列的最小和 ~序列的最大和) #include<bits/stdc++.h> #define ll long long using namespace std; ll a[500005]; int mai 阅读全文