上一页 1 ··· 3 4 5 6 7 8 9 10 下一页
摘要: 描述 You may have heard of the book '2001 - A Space Odyssey' by Arthur C. Clarke, or the film of the same name by Stanley Kubrick. In it a spaceship is 阅读全文
posted @ 2016-09-30 21:56 lzyer 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 描述 Given a positive integer n, find the positions of all 1's in its binary representation. The position of the least significant bit is 0.ExampleThe p 阅读全文
posted @ 2016-09-30 21:32 lzyer 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 描述 这回是浙江工业大学的ACM程序设计竞赛,欢迎你的到来!但是,请稍等!裁判Joe说了,必须正确回答他的问题,才可以看到PIPI的气球MM,KUKU的气球GG.Joe手上有7张卡片,每张卡片上有一个大写字母,分别是Z,J,U,T,A,C,M.现在他开始表演魔术,每次只交换其中的两张卡片.等表演结束 阅读全文
posted @ 2016-09-30 21:16 lzyer 阅读(595) 评论(0) 推荐(0) 编辑
摘要: 描述 哥德巴赫猜想大家都知道一点吧.我们现在不是想证明这个结论,而是想在程序语言内部能够表示的数集中,任意取出一个偶数,来寻找两个素数,使得其和等于该偶数.做好了这件实事,就能说明这个猜想是成立的.由于可以有不同的素数对来表示同一个偶数,所以专门要求所寻找的素数对是两个值最相近的,而且素数对中的第一 阅读全文
posted @ 2016-09-30 21:06 lzyer 阅读(627) 评论(0) 推荐(0) 编辑
摘要: Fibonacci Again Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 53310 Accepted Submission(s): 252 阅读全文
posted @ 2016-09-25 21:04 lzyer 阅读(209) 评论(0) 推荐(0) 编辑
摘要: Least Common Multiple Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 46786 Accepted Submission(s 阅读全文
posted @ 2016-09-25 20:46 lzyer 阅读(152) 评论(0) 推荐(0) 编辑
摘要: A Mathematical Curiosity Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 37975 Accepted Submissio 阅读全文
posted @ 2016-09-25 20:25 lzyer 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 题解:模拟。 阅读全文
posted @ 2016-09-25 15:10 lzyer 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 题解:九余数的定理:一个数对9取余等于这个数各位数相加的和对9取余,例如 123 %9 = (1+2+3)%9,所以题目中要求把一个数的各个位加起来直到是个不大于9的数,就等于直接对这个数对9取余。 阅读全文
posted @ 2016-09-25 14:50 lzyer 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 题解:简单模拟题。 阅读全文
posted @ 2016-09-25 14:24 lzyer 阅读(129) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 下一页