![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
gcd
weixin_44040169
这个作者很懒,什么都没留下…
展开
-
A - A Dangerous Maze(期望)
You are in a maze; seeing n doors in front of you in beginning. You can choose any door you like. The probability for choosing a door is equal for all doors.If you choose the ith door, it can either ...原创 2020-01-28 22:35:48 · 84 阅读 · 0 评论 -
HDU - 相遇周期(gcd,lcm)
HDU - 相遇周期2007年3月26日,在中俄两国元首的见证下,中国国家航天局局长孙来燕与俄罗斯联邦航天局局长别尔米诺夫共同签署了《中国国家航天局和俄罗斯联邦航天局关于联合探测火星-火卫一合作的协议》,确定中俄双方将于2009年联合对火星及其卫星“火卫一”进行探测。而卫星是进行这些探测的重要工具,我们的问题是已知两颗卫星的运行周期,求它们的相遇周期。Input输入数据的第一行为一个正整数...原创 2019-12-06 21:19:01 · 160 阅读 · 0 评论 -
Gcd
GcdTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 524288/524288 K (Java/Others)Total Submission(s): 821 Accepted Submission(s): 275Problem Descriptionwls 有一个整数 n,他想将 1 − n 这 n 个数字分成两组,...原创 2019-07-17 18:11:56 · 660 阅读 · 0 评论 -
Huashui Clock(最大公约数-辗转相除)
For those who don’t speak Chinese, huashui may not even be a legitimate word for you. You don’t haveto know what it is to solve this problem, but to make everything clear, huashui refers to the stat...原创 2019-05-16 21:54:31 · 155 阅读 · 0 评论 -
Coprime Sequence
Coprime SequenceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 3769 Accepted Submission(s): 1747Problem DescriptionDo you know what is...原创 2019-07-17 19:59:44 · 126 阅读 · 0 评论