摘要:
难以描述。#include#include#include#include#include#includeusing namespace std;const int maxn=100+10;int T;long long M;long long tot[maxn],sum[maxn];int mai... 阅读全文
摘要:
最大子串和#include#includeconst int maxn=100000+10;int n;int x[maxn];int fx[maxn];int a[maxn];int sum[maxn];int L[maxn],R[maxn];const int INF=0x7FFFFFFF;in... 阅读全文
摘要:
水题。#include#includechar s[1000];int main(){ while(~scanf("%s",s)){ int len=strlen(s); int flag=0; if((s[len-1]-'0')%2==0) flag=1; if((s... 阅读全文
摘要:
线段树区间合并/* ***********************************************Author :Zhou ZhentaoEmail :774388357@qq.comCreated Time :2015/11/28 9:05:25Fi... 阅读全文