上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 35 下一页
该文被密码保护。 阅读全文
posted @ 2015-09-21 16:36 Run_For_Love 阅读(0) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/heqinghui/archive/2013/07/30/3225407.html 阅读全文
posted @ 2015-09-21 08:53 Run_For_Love 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 转载:http://www.cnblogs.com/ziyi--caolu/archive/2013/08/04/3236035.html 阅读全文
posted @ 2015-09-17 20:58 Run_For_Love 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 只要一个数的后面有比它小的数,这个数就要移,于是从后往前一趟遍历,记录一下这些数的个数就可以了。#include"iostream"#include"stdio.h"#include"string.h"#include"cmath"#include"algorithm"#include"queue"... 阅读全文
posted @ 2015-09-17 18:00 Run_For_Love 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 个人觉得这篇博客总结的很好:http://blog.csdn.net/arvonzhang/article/details/8564836再添加一个可以直接复制粘贴的模板:ll POW_MOD(ll aa,ll ii,ll nn){ if(ii==0) return 1%nn; ll te... 阅读全文
posted @ 2015-09-16 17:55 Run_For_Love 阅读(168) 评论(0) 推荐(0) 编辑
摘要: http://www.baidu.com/p/liu987825?from=wenku 阅读全文
posted @ 2015-09-08 19:42 Run_For_Love 阅读(857) 评论(0) 推荐(0) 编辑
摘要: 这题是一道dp的水题,类似于数塔,从右向左倒着加上去,找到最小值,然后在从左到右输出路径。#include"iostream"#include"stdio.h"#include"algorithm"#include"string.h"#include"string"#include"cmath"#i... 阅读全文
posted @ 2015-09-08 19:10 Run_For_Love 阅读(296) 评论(0) 推荐(0) 编辑
摘要: 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) 编辑
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 35 下一页