摘要: 本文所有内容基于markdown,如果不能正常显示,建议卸载浏览器并安装最新版本。 原创内容,转载请注明来源https://www.cnblogs.com/zhber/p/10016909.html 1. 仓库 https://github.com/zhber/Sudoku/ 2. 设计PSP表格( 阅读全文
posted @ 2018-11-25 19:48 zhber 阅读(1119) 评论(0) 推荐(0) 编辑
摘要: 3星场 难度在于英文题面太难读懂了QAQ 看样例猜题意的我 ~~博客园的c++主题真丑~~ A Alien Sunset $description$ 有$n$个星球,每个星球自转时间不一样,所以一天的小时数$p$也不一样,而且日出日落时间也不一样。在模$p$意义下,如果日出时间是$a$日落时间是$b 阅读全文
posted @ 2018-02-02 18:00 zhber 阅读(767) 评论(0) 推荐(0) 编辑
摘要: Everybody knows any number can be combined by the prime number. Now, your task is telling me what position of the largest prime factor. The position o 阅读全文
posted @ 2017-08-04 15:48 zhber 阅读(215) 评论(0) 推荐(0) 编辑
摘要: The least common multiple (LCM) of a set of positive integers is the smallest positive integer which is divisible by all the numbers in the set. For e 阅读全文
posted @ 2017-08-04 15:45 zhber 阅读(229) 评论(0) 推荐(0) 编辑
摘要: A Compiler Mystery: We are given a C-language style for loop of type for (variable = A; variable != B; variable += C) statement; I.e., a loop which st 阅读全文
posted @ 2017-08-04 15:42 zhber 阅读(214) 评论(0) 推荐(0) 编辑
摘要: Everybody in the Prime Land is using a prime base number system. In this system, each positive integer x is represented as follows: Let {pi}i=0,1,2,.. 阅读全文
posted @ 2017-08-04 15:37 zhber 阅读(139) 评论(0) 推荐(0) 编辑
摘要: Given a sequence of consecutive integers n,n+1,n+2,...,m, an anti-prime sequence is a rearrangement of these integers so that each adjacent pair of in 阅读全文
posted @ 2017-08-04 15:35 zhber 阅读(222) 评论(0) 推荐(0) 编辑
摘要: A prime number is a counting number (1, 2, 3, ...) that is evenly divisible only by 1 and itself. In this problem you are to write a program that will 阅读全文
posted @ 2017-08-04 15:32 zhber 阅读(161) 评论(0) 推荐(0) 编辑
摘要: In 1742, Christian Goldbach, a German amateur mathematician, sent a letter to Leonhard Euler in which he made the following conjecture: Every even num 阅读全文
posted @ 2017-08-04 15:29 zhber 阅读(153) 评论(0) 推荐(0) 编辑
摘要: For any even number n greater than or equal to 4, there exists at least one pair of prime numbers p1 and p2 such that n = p1 + p2 This conjecture has 阅读全文
posted @ 2017-08-04 15:27 zhber 阅读(132) 评论(0) 推荐(0) 编辑
摘要: The sequence of n − 1 consecutive composite numbers (positive integers that are not prime and not equal to 1) lying between two successive prime numbe 阅读全文
posted @ 2017-08-04 15:24 zhber 阅读(146) 评论(0) 推荐(0) 编辑
摘要: We say that x is a perfect square if, for some integer b, x = b 2. Similarly, x is a perfect cube if, for some integer b, x = b 3. More generally, x i 阅读全文
posted @ 2017-08-04 15:22 zhber 阅读(149) 评论(0) 推荐(0) 编辑
摘要: Ms. Iyo Kiffa-Australis has a balance and only two kinds of weights to measure a dose of medicine. For example, to measure 200mg of aspirin using 300m 阅读全文
posted @ 2017-08-04 15:15 zhber 阅读(160) 评论(0) 推荐(0) 编辑
摘要: Two positive integers are said to be relatively prime to each other if the Great Common Divisor (GCD) is 1. For instance, 1, 3, 5, 7, 9...are all rela 阅读全文
posted @ 2017-08-04 15:10 zhber 阅读(173) 评论(0) 推荐(0) 编辑
摘要: Description 两只青蛙在网上相识了,它们聊得很开心,于是觉得很有必要见一面。它们很高兴地发现它们住在同一条纬度线上,于是它们约定各自朝西跳,直到碰面为止。可是它们出发之前忘记了一件很重要的事情,既没有问清楚对方的特征,也没有约定见面的具体位置。不过青蛙们都是很乐观的,它们觉得只要一直朝着某 阅读全文
posted @ 2017-08-04 14:54 zhber 阅读(155) 评论(0) 推荐(1) 编辑