摘要: /* 矩阵稍微有点难搞 不过也是可以推出来 注意防爆... */ #include #include #include #define ll long long using namespace std; ll n,mod,p,q,r,t,u,v,w,x,y,z; ll f[12][12],a[12][12]; ll slow_mul(ll a,ll b) { ll ans=0; ... 阅读全文
posted @ 2016-08-04 19:54 一入OI深似海 阅读(365) 评论(0) 推荐(0) 编辑
摘要: /*考试想了2小时二分 最后写的15分钟暴力....34分*/ #include #include #include #include using namespace std; int n,m,k,cnt,ks[11],sk[11]; string s,si; void Get_s(int x) { string sd; while(x)sd+=char(x%10+'0'),x/... 阅读全文
posted @ 2016-08-04 17:15 一入OI深似海 阅读(201) 评论(0) 推荐(0) 编辑