上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 17 下一页
摘要: Problem Description 数论中有许多猜想尚未解决,其中有一个被称为“角谷猜想”的问题,该问题在五、六十年代的美国多个著名高校中曾风行一时,这个问题是这样描述的:任何一个大于一的自然数,如果是奇数,则乘以三再加一;如果是偶数,则除以二;得出的结果继续按照前面的规则进行运算,最后必定得到 阅读全文
posted @ 2016-05-17 21:28 邻家那小孩儿 阅读(154) 评论(0) 推荐(0) 编辑
摘要: Problem Description 七夕节那天,月老来到数字王国,他在城门上贴了一张告示,并且和数字王国的人们说:"你们想知道你们的另一半是谁吗?那就按照告示上的方法去找吧!"人们纷纷来到告示前,都想知道谁才是自己的另一半.告示如下:数字N的因子就是所有比N小又能被N整除的所有正整数,如12的因 阅读全文
posted @ 2016-05-17 20:19 邻家那小孩儿 阅读(127) 评论(0) 推荐(0) 编辑
摘要: Problem Description HDU ACM集训队的队员在暑假集训时经常要讨论自己在做题中遇到的问题.每当面临自己解决不了的问题时,他们就会围坐在一张圆形的桌子旁进行交流,经过大家的讨论后一般没有解决不了的问题,这也只有HDU ACM集训队特有的圆桌会议,有一天你也可以进来体会一下哦:), 阅读全文
posted @ 2016-05-17 18:52 邻家那小孩儿 阅读(88) 评论(0) 推荐(0) 编辑
摘要: Problem Description Today is Ignatius' birthday. He invites a lot of friends. Now it's dinner time. Ignatius wants to know how many tables he needs at 阅读全文
posted @ 2016-05-17 15:36 邻家那小孩儿 阅读(104) 评论(0) 推荐(0) 编辑
摘要: Problem Description RSA is one of the most powerful methods to encrypt data. The RSA algorithm is described as follow:> choose two large prime integer 阅读全文
posted @ 2016-05-14 22:58 邻家那小孩儿 阅读(156) 评论(0) 推荐(0) 编辑
摘要: Problem Description Eddy是个ACMer,他不仅喜欢做ACM题,而且对于纸牌也有一定的研究,他在无聊时研究发现,如果他有2N张牌,编号为1,2,3..n,n+1,..2n。这也是最初的牌的顺序。通过一次洗牌可以把牌的序列变为n+1,1,n+2,2,n+3,3,n+4,4..2n 阅读全文
posted @ 2016-05-14 21:52 邻家那小孩儿 阅读(304) 评论(0) 推荐(0) 编辑
摘要: Problem Description ACboy was kidnapped!! he miss his mother very much and is very scare now.You can't image how dark the room he was put into is, so 阅读全文
posted @ 2016-05-12 17:11 邻家那小孩儿 阅读(127) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std; int parent(int i) { return i/2; } int left(int i) { return 2*i; } int right(int i) { return 2*i+1; } int MAX_HEAPIFY(int a[],int i,int n) { int l,r... 阅读全文
posted @ 2016-05-12 15:45 邻家那小孩儿 阅读(99) 评论(0) 推荐(0) 编辑
摘要: Problem Description In the year 8888, the Earth is ruled by the PPF Empire . As the population growing , PPF needs to find more land for the newborns 阅读全文
posted @ 2016-05-04 00:27 邻家那小孩儿 阅读(164) 评论(0) 推荐(0) 编辑
摘要: Problem Description FatMouse prepared M pounds of cat food, ready to trade with the cats guarding the warehouse containing his favorite food, JavaBean 阅读全文
posted @ 2016-05-04 00:26 邻家那小孩儿 阅读(122) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 17 下一页