摘要:
#include #include #include #include #include using namespace std;void read(int &num){ char ch; while... 阅读全文
摘要:
#include #include #include #include using namespace std;const int MAXN = 305;int n, m, fa[MAXN], val[MAXN]... 阅读全文
摘要:
#include using namespace std;#define LL long longint Maxd;LL Ans[10], now[10];bool flag;inline void chkmin... 阅读全文
摘要:
#include using namespace std;const int MAXN = 100005;const int MAXM = 500005;int n, m;int fir[MAXN], nxt[M... 阅读全文
摘要:
#include using namespace std;const int MAXN = 5005;int A[MAXN], B[MAXN], N, M, dp[MAXN];int main(){ sca... 阅读全文
摘要:
#includeusing namespace std;sets;int main (){//begin()--返回指向第一个元素的迭代器//end()--返回指向最后一个元素的后一位的迭代器//clear()-... 阅读全文
摘要:
#includeusing namespace std;struct cmp{ bool operator ()(int a, int b) //重载小于 { return a > b; }};sets1; //... 阅读全文
摘要:
% Day1 Solution% Wearr... 阅读全文
摘要:
% Day2 Solution% Wearr... 阅读全文
摘要:
//求 An * x^n + A(n-1) * x^(n-1) + ... + A1 * x^1 + A0 * x^0 在[l,r]上最大值//保证函数在[l,r]是单峰函数#includeusing names... 阅读全文