cf #213 Matrix
摘要:
题目:http://codeforces.com/contest/365/problem/C题目分析:sum(x,y,z,t)=s(x,y)*s(z,t),s(x,y)=s[x]+s[x+1]+...+s[y].由于strlen(s)#include #include #include #include #include #include using namespace std;long long eq,sum[5000],slen,f[46100],ssum,ans;char s[5000];void ini();void work();int main(){ ini(); wo... 阅读全文
posted @ 2013-11-21 22:22 uestc小田 阅读(211) 评论(0) 推荐(0) 编辑