摘要: If x < 10 f(x) = x.If x >= 10 f(x) = a0 * f(x-1) + a1 * f(x-2) + a2 * f(x-3) + …… + a9 * f(x-10);And ai(0<=i<=9) can only be 0 or 1 . Sample Input 10 阅读全文
posted @ 2016-05-06 12:00 御心飞行 阅读(445) 评论(0) 推荐(0) 编辑
摘要: Number Sequence Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 147964 Accepted Submission(s): 35 阅读全文
posted @ 2016-05-06 11:44 御心飞行 阅读(310) 评论(0) 推荐(0) 编辑
摘要: How many ways?? Sample Input 4 4 //n个点,m条路径0 1 //s->t可通0 21 32 32 //询问数0 3 2 //从0到3走两条路可到的方案有多少种0 3 33 60 11 00 22 01 22 121 2 10 1 30 0 4 4 //n个点,m条路 阅读全文
posted @ 2016-05-06 10:34 御心飞行 阅读(506) 评论(0) 推荐(0) 编辑
摘要: D.锐雯上单不给就送 I.梯田 J.镜像树 阅读全文
posted @ 2016-05-06 09:43 御心飞行 阅读(265) 评论(0) 推荐(0) 编辑