![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
枚举
倪倪倪倪倪~
这个作者很懒,什么都没留下…
展开
-
POJ 1006 Biorhythms
DescriptionSome people believe that there are three cycles in a person's life that start the day he or she is born. These three cycles are the physical, emotional, and intellectual cycles, and they ...原创 2017-07-27 10:29:21 · 230 阅读 · 1 评论 -
POJ 1013 Counterfeit Dollar
Sally Jones has a dozen Voyageur silver dollars. However, only eleven of the coins are true silver dollars; one coin is counterfeit even though its color and size make it indistinguishable from the re...原创 2017-07-27 10:31:58 · 170 阅读 · 0 评论 -
POJ 1012 Joseph
The Joseph's problem is notoriously known. For those who are not familiar with the original problem: from among n people, numbered 1, 2, . . ., n, standing in circle every mth is going to be executed ...原创 2017-07-27 10:34:46 · 199 阅读 · 0 评论 -
POJ 1046 Color Me Less
A color reduction is a mapping from a set of discrete colors to a smaller one. The solution to this problem requires that you perform just such a mapping in a standard twenty-four bit RGB color space....原创 2017-07-27 10:36:23 · 233 阅读 · 0 评论 -
POJ 1047 Round and Round We Go
A cyclic number is an integer n digits in length which, when multiplied by any integer from 1 to n, yields a"cycle"of the digits of the original number. That is, if you consider the number after the l...原创 2017-07-27 10:37:57 · 321 阅读 · 0 评论 -
HDU 1213 最大连续子序列
给定K个整数的序列{ N1, N2, ..., NK },其任意连续子序列可表示为{ Ni, Ni+1, ...,Nj },其中 1 <= i <= j <= K。最大连续子序列是所有连续子序列中元素和最大的一个,例如给定序列{ -2, 11, -4, 13, -5, -2 },其最大连续子序列为{ 11, -4, 13 },最大和为20。在今年的数据结构考卷中,要...原创 2017-07-27 10:39:35 · 218 阅读 · 0 评论 -
HDU 1081 To The Max
To The MaxTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 4592Accepted Submission(s): 2165Problem DescriptionGiven a two-dimensiona...原创 2017-07-27 10:41:09 · 206 阅读 · 0 评论 -
HDU 1172 猜数字
猜数字游戏是gameboy最喜欢的游戏之一。游戏的规则是这样的:计算机随机产生一个四位数,然后玩家猜这个四位数是什么。每猜一个数,计算机都会告诉玩家猜对几个数字,其中有几个数字在正确的位置上。比如计算机随机产生的数字为1122。如果玩家猜1234,因为1,2这两个数字同时存在于这两个数中,而且1在这两个数中的位置是相同的,所以计算机会告诉玩家猜对了2个数字,其中一个在正确的位置。如果玩家猜11...原创 2017-07-27 10:42:40 · 289 阅读 · 0 评论 -
HDU 1015 Safecracker (暴力枚举)
=== Op tech briefing, 2002/11/02 06:42 CST ==="The item is locked in a Klein safe behind a painting in the second-floor library. Klein safes are extremely rare; most of them, along with Klein and hi...原创 2017-07-27 10:47:26 · 266 阅读 · 0 评论