上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 41 下一页
摘要: 链接:点我输入顺序又反了 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 using namespace std; 9 #define MOD 100000000710 const int ... 阅读全文
posted @ 2015-07-11 10:16 miao_a_miao 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 链接:点我记忆化搜索很好写 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 using namespace std; 9 #define MOD 100000000710 const int... 阅读全文
posted @ 2015-07-10 16:55 miao_a_miao 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 链接:点我spfa即可 阅读全文
posted @ 2015-07-10 11:11 miao_a_miao 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 链接:点我一开始的方程式很好写的,但是数据太大,考虑到石子数目很小,我们对其进行离散化,若相邻两点距离超过ya的值,则后面所有点都往前移动,这里ya的值是可以调整的#include #include #include using namespace std;const int maxn=110;co... 阅读全文
posted @ 2015-07-10 10:28 miao_a_miao 阅读(180) 评论(1) 推荐(0) 编辑
摘要: 受不了,已阵亡 阅读全文
posted @ 2015-07-09 16:45 miao_a_miao 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 题意:Shaolin temple is very famous for its Kongfu monks.A lot of young men go to Shaolin temple every year, trying to be a monk there. The master of Sha... 阅读全文
posted @ 2015-07-06 17:13 miao_a_miao 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 using namespace std; 9 #define MOD 100000000710 const int INF=0x3f3f3f... 阅读全文
posted @ 2015-07-06 11:07 miao_a_miao 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 链接:点我 1 阅读全文
posted @ 2015-07-06 10:50 miao_a_miao 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 题意:Michael has a telecontrol robot. One day he put the robot on a loop with n cells. The cells are numbered from 1 to n clockwise. At first the robot ... 阅读全文
posted @ 2015-07-06 10:36 miao_a_miao 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 题意:Suppose there are the symbols M, I, and U which can be combined to produce strings of symbols called "words". We start with one word MI, and transf... 阅读全文
posted @ 2015-07-04 23:27 miao_a_miao 阅读(716) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 41 下一页