随笔分类 -  规律

摘要:#1584 : Bounce #1584 : Bounce 时间限制:1000ms 单点时限:1000ms 内存限制:256MB 描述 For Argo, it is very interesting watching a circle bouncing in a rectangle. As sho 阅读全文
posted @ 2017-10-01 15:01 Cool639zhu 阅读(549) 评论(0) 推荐(0)
摘要:小C的倍数问题 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 481 Accepted Submission(s): 278 Problem D 阅读全文
posted @ 2017-08-13 11:39 Cool639zhu 阅读(381) 评论(0) 推荐(0)
摘要:今夕何夕 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1295 Accepted Submission(s): 455 Problem Des 阅读全文
posted @ 2017-08-13 11:33 Cool639zhu 阅读(588) 评论(0) 推荐(0)
摘要:C. Plus and Square Root time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output ZS the Coder is 阅读全文
posted @ 2016-09-18 00:18 Cool639zhu 阅读(406) 评论(0) 推荐(0)
摘要:题目链接: http://codeforces.com/problemset/problem/696/B 题目大意: 给一棵树,从根节点开始递归,time=1,每次递归等概率随机访问这个节点的子节点,走过不会再走,每访问到一个新节点time+1,求访问每个节点的时间的期望。 题目思路: 【数学规律】 阅读全文
posted @ 2016-08-18 18:47 Cool639zhu 阅读(426) 评论(0) 推荐(0)
摘要:题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5573 题目大意: 从1走到第k层,下一层的数是上一层的数*2或者*2+1,可以选择加上或者减去走的数,最终要求结果为n 输出每层走的数,和是加还是减 题目思路: 【规律】【贪心】【数学】 首先苦思冥想 阅读全文
posted @ 2016-05-18 13:45 Cool639zhu 阅读(272) 评论(0) 推荐(0)