![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
HDU
文章平均质量分 71
算法之旅
订阅笔试机试专栏,共同进步!
展开
-
HDU-1013 Digital Roots
Problem Description The digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single digit then that digit is the digital root. If the resulting原创 2016-01-26 00:34:21 · 3764 阅读 · 0 评论 -
HDU-1267 下沙的沙子有几粒?
Problem Description 2005年11月份,我们学校参加了ACM/ICPC 亚洲赛区成都站的比赛,在这里,我们获得了历史性的突破,尽管只是一枚铜牌,但获奖那一刻的激动,也许将永远铭刻在我们几个人的心头。借此机会,特向去年为参加ACM亚洲赛而艰苦集训了近半年的各位老队员表示感谢。 实际上,除了获奖以外,在这次比赛期间还有一件事也让我们记忆深刻。那是比赛当天等待入场的时候,听到某个学原创 2016-01-26 14:25:10 · 3841 阅读 · 0 评论 -
HDU-1203 I NEED A OFFER!
Problem DescriptionSpeakless很早就想出国,现在他已经考完了所有需要的考试,准备了所有要准备的材料,于是,便需要去申请学校了。要申请国外的任何大学,你都要交纳一定的申请费用,这可是很惊人的。Speakless没有多少钱,总共只攒了n万美元。他将在m个学校中选择若干的(当然要在他的经济承受范围内)。每个学校都有不同的申请费用a(万美元),并且Speakless估计了原创 2016-03-22 00:37:23 · 4743 阅读 · 0 评论 -
HDU-1443 Joseph
Problem DescriptionThe 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 goin原创 2016-01-24 22:56:39 · 3422 阅读 · 0 评论 -
HDU-2571 命运
Problem Description穿过幽谷意味着离大魔王lemon已经无限接近了!可谁能想到,yifenfei在斩杀了一些虾兵蟹将后,却再次面临命运大迷宫的考验,这是魔王lemon设下的又一个机关。要知道,不论何人,若在迷宫中被困1小时以上,则必死无疑!可怜的yifenfei为了去救MM,义无返顾地跳进了迷宫。让我们一起帮帮执着的他吧!命运大迷宫可以看成是一个两维的方格阵列原创 2016-03-21 19:07:16 · 4580 阅读 · 0 评论 -
HDU-1160 FatMouse's Speed
Problem DescriptionFatMouse believes that the fatter a mouse is, the faster it runs. To disprove this, you want to take the data on a collection of mice and put as large a subset of this data as p原创 2016-03-18 23:22:08 · 4296 阅读 · 0 评论 -
HDU-2639 Bone Collector II
DescriptionThe title of this problem is familiar,isn't it?yeah,if you had took part in the "Rookie Cup" competition,you must have seem this title.If you haven't seen it before,it doesn't matter,I原创 2016-03-30 23:00:52 · 5453 阅读 · 0 评论 -
HDU-1063 Exponentiation
Problem DescriptionProblems involving the computation of exact values of very large magnitude and precision are common. For example, the computation of the national debt is a taxing experience for原创 2016-02-03 13:58:47 · 4203 阅读 · 1 评论 -
HDU-1071 The area
Problem Description Ignatius bought a land last week, but he didn’t know the area of the land because the land is enclosed by a parabola and a straight line. The picture below shows the area. Now give原创 2016-01-26 01:55:19 · 3675 阅读 · 0 评论 -
HDU-1159 Common Subsequence
Problem DescriptionA subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a sequence X = another sequence Z = is a subsequence of X if there e原创 2016-03-18 12:24:07 · 4228 阅读 · 0 评论 -
HDU-1005 Number Sequence && 51NOD-1126 求递推序列的第N项
有一个序列是这样定义的:f(1) = 1, f(2) = 1, f(n) = (A * f(n - 1) + B * f(n - 2)) mod 7. 给出A,B和N,求f(n)的值。原创 2016-01-25 01:55:19 · 4090 阅读 · 0 评论 -
HDU-3732 Ahui Writes Word
Problem DescriptionWe all know that English is very important, so Ahui strive for this in order to learn more English words. To know that word has its value and complexity of writing (the length o原创 2016-04-16 12:39:51 · 6143 阅读 · 0 评论