摘要:
/* begin x:=9; if x > 0 then x:= 2*x+1/3; end # */ #include #include #include #define _KEY_WORD_END "waiting for your expanding" typedef struct { int typenum; char *word; }WORD; char i... 阅读全文
摘要:
#include using namespace std; const int maxn = (1e5+10)*20; int tn,root[maxn],sum[maxn],lson[maxn],rson[maxn]; int x,y; void update(int i ,int j,int l,int &r) { r = ++tn; if(i==j){ ... 阅读全文
摘要:
#include #include #include #include using namespace std; const int maxn = 1e5 + 10; int n, m; int cnt; struct node{ int L, R;//分别指向左右子树 int sum;//该节点所管辖区间范围内数的个数 node(){ sum = 0; ... 阅读全文
摘要:
#include const int INF = 0x3f3f3f3f; using namespace std; int n,m; long long a[210][210]; //a[i][j] 表示从i到j位的这个数 long long dp[210][210]; //dp[i][j] 表示从前i位中划分出j次的最大乘积 long long x; void In... 阅读全文