摘要: http://wenku.baidu.com/link?url=IVbf6gb-QHw3AOdWQba9ZOUAJ3Tv_0hcEW3NGurvlFij6ygz7_3IMnJqeqVTEVoOr1tvADJHPqz7x-gOB73gFI-DT8I4sSoMDrktmV6lCqChttp://www.... 阅读全文
posted @ 2015-09-07 16:10 Run_For_Love 阅读(2929) 评论(0) 推荐(0) 编辑
摘要: 找到其中的递推关系即可。#include"iostream"#include"stdio.h"#include"string"#include"string.h"using namespace std;const int mx=105;char str[mx];long long cnt[mx][m... 阅读全文
posted @ 2015-09-07 11:31 Run_For_Love 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 暴力。#include"iostream"#include"stdio.h"#include"cmath"using namespace std;int judge(int fac,int num){ int i; for(i=1;imax_num) { ... 阅读全文
posted @ 2015-09-07 10:33 Run_For_Love 阅读(200) 评论(0) 推荐(0) 编辑