![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
算法
文章平均质量分 83
微笑的蒲公英
这个作者很懒,什么都没留下…
展开
-
POJ 2184 Cow Exhibition
Cow ExhibitionTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 9573 Accepted: 3698Description"Fat and docile, big and dumb, they look so stupid, they are原创 2015-02-05 10:39:00 · 311 阅读 · 0 评论 -
Squares
SquaresTime Limit: 3500MS Memory Limit: 65536KTotal Submissions: 16784 Accepted: 6389DescriptionA square is a 4-sided polygon whose sides have equal length and ad转载 2015-01-23 20:26:08 · 275 阅读 · 0 评论 -
A Knight's Journey
A Knight's JourneyTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 32470 Accepted: 11060DescriptionBackground The knight is getting bored of seeing the转载 2015-01-23 19:46:49 · 311 阅读 · 0 评论 -
Snowflake Snow Snowflakes寻找相似雪花
Snowflake Snow SnowflakesTime Limit: 4000MS Memory Limit: 65536KTotal Submissions: 32243 Accepted: 8488DescriptionYou may have heard that no two snowflakes are al转载 2015-01-21 21:36:32 · 353 阅读 · 0 评论 -
SDUT2778 小明的花费预算
小明的花费预算Time Limit: 1000MS Memory limit: 65536K题目描述小明终于找到一份工作了,但是老板是个比较奇怪的人,他并不是按照每月每月的这样发工资,他觉得你想什么时候来取都可以,取的是前边连续几个月中没有取的工资,而小明恰好是一个花钱比较大手大脚的人,所以他希望每次取得钱正好够接下来的n个月的花费。所以让你把这n个原创 2015-01-21 19:39:58 · 424 阅读 · 0 评论 -
HDU 1754 I Hate It
I Hate ItTime Limit: 9000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 38194 Accepted Submission(s): 15096Problem Description很多学校流行一种比较的习惯。原创 2014-08-08 21:07:24 · 222 阅读 · 0 评论 -
POJ 1061 青蛙的约会
青蛙的约会Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 89902 Accepted: 16183Description两只青蛙在网上相识了,它们聊得很开心,于是觉得很有必要见一面。它们很高兴地发现它们住在同一条纬度线上,于是它们约定各自朝西跳,直到碰面原创 2014-08-07 16:32:23 · 301 阅读 · 0 评论 -
HDU 2736 Surprising Strings
Surprising StringsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 349 Accepted Submission(s): 245Problem DescriptionThe D-pai原创 2014-08-06 21:19:40 · 301 阅读 · 0 评论 -
POJ 2418 Hardwood Species
Hardwood SpeciesTime Limit: 10000MS Memory Limit: 65536KTotal Submissions: 18467 Accepted: 7320DescriptionHardwoods are the botanical group of trees that have bro原创 2014-08-06 20:55:44 · 298 阅读 · 0 评论 -
HDU 2035 人见人爱A^B
人见人爱A^BTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 22182 Accepted Submission(s): 15471Problem Description求A^B的最后三位数表示的整数。原创 2014-08-06 20:40:02 · 325 阅读 · 0 评论 -
HDU1061 Rightmost Digit
Rightmost DigitTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 31895 Accepted Submission(s): 12218Problem DescriptionGiven a原创 2014-08-06 20:20:12 · 308 阅读 · 0 评论 -
POJ1731 Orders
#include #include #include #include #include #include using namespace std;int main(){ int n,m,k,s,i,j; int f[101][101],a[110],b[110]; while(scanf("%d%d%d%d",&n,&m,&k,&s)!=EOF)原创 2014-07-30 21:36:05 · 357 阅读 · 0 评论 -
HDU2159FATE
OrdersTime Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionThe stores manager has sorted all kinds of goods in an alphabetical order of their labels. All原创 2014-07-30 21:34:34 · 354 阅读 · 0 评论 -
HDU 1114 POJ 1384 Piggy-Bank
Piggy-BankTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionBefore ACM can do anything, a budget must be prepared and the necessary financial support原创 2014-07-30 21:29:28 · 329 阅读 · 0 评论 -
HDU2602 Bone Collector
#include #include #include #include #include #include using namespace std;int mmax(int a,int b){ return a>b?a:b;}int main(){ int T,N,V; int i,j; int w[1001],v[1001],f[1001原创 2014-07-30 21:25:37 · 275 阅读 · 0 评论 -
POJ3981 字符串替换
#include #include #include #include #include #include using namespace std;int main(){ char str1[1001],str2[1001]; int i; while(gets(str1)!=NULL) { int len=strlen(str1);原创 2014-07-30 21:24:33 · 342 阅读 · 0 评论 -
简单字符串排序
A - 简单字符串排序Time Limit:5000MS Memory Limit:100000KB 64bit IO Format:%lld & %lluSubmit StatusDescription从键盘输入10个学生的姓名和成绩,请按字典序排列学生的姓名并输出(姓名和成绩对应关系保持不变)。Input输入共原创 2014-07-30 21:10:25 · 329 阅读 · 0 评论 -
Rotating Sentences
Rotating Sentences In ``Rotating Sentences,'' you are asked to rotate a series of input sentences 90 degrees clockwise. So instead of displaying the input sentences from left to right and top to botto原创 2014-06-17 20:30:39 · 348 阅读 · 0 评论 -
POJ 1321 棋盘的问题
棋盘问题Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 24114 Accepted: 11942Description在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求原创 2015-01-26 20:18:09 · 242 阅读 · 0 评论 -
POJ 3414 Pots
PotsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 10376 Accepted: 4397 Special JudgeDescriptionYou are given two pots, having the volume of A and原创 2015-01-26 20:32:13 · 257 阅读 · 0 评论 -
POJ 3087Shuffle'm Up
Shuffle'm UpTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 6247 Accepted: 2918DescriptionA common pastime for poker players at a poker table is to shuf原创 2015-01-26 20:42:42 · 241 阅读 · 0 评论 -
POJ 2063 Investment
InvestmentTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 8857 Accepted: 3039DescriptionJohn never knew he had a grand-uncle, until he received the nota原创 2015-02-05 09:59:44 · 259 阅读 · 0 评论 -
树-堆结构练习——合并果子之哈夫曼树
树-堆结构练习——合并果子之哈夫曼树Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmit StatusDescription 在一个果园里,多多已经将所有的果子打了下来,而且按果子的不同种类分成了不同的堆。多多决定把所有的果子合成一堆。每一次合并,多多原创 2014-08-05 21:17:36 · 1088 阅读 · 1 评论 -
POJ 2392 Space Elevator
Space ElevatorTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 8783 Accepted: 4173DescriptionThe cows are going to space! They plan to achieve orbit by b原创 2015-02-05 11:31:47 · 284 阅读 · 0 评论 -
POJ 1276 Cash Machine
Cash MachineTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 28509 Accepted: 10174DescriptionA Bank plans to install a machine for cash withdrawal. The m原创 2015-02-05 09:41:28 · 240 阅读 · 0 评论 -
POJ 1837 Balance
BalanceTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 11138 Accepted: 6917DescriptionGigel has a strange "balance" and he wants to poise it. Actually,原创 2015-02-05 09:26:22 · 249 阅读 · 0 评论 -
POJ 1062 昂贵的聘礼
昂贵的聘礼Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 38272 Accepted: 11046Description年轻的探险家来到了一个印第安部落里。在那里他和酋长的女儿相爱了,于是便向酋长去求亲。酋长要他用10000个金币作为聘礼才答应把女儿嫁给转载 2015-02-02 19:53:59 · 265 阅读 · 0 评论 -
POJ 2240 Arbitrage
ArbitrageTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 16457 Accepted: 6926DescriptionArbitrage is the use of discrepancies in currency exchange rates原创 2015-02-02 19:34:43 · 224 阅读 · 0 评论 -
POJ 1125 Stockbroker Grapevine
Stockbroker GrapevineTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 28076 Accepted: 15576DescriptionStockbrokers are known to overreact to rumours. You原创 2015-02-02 19:18:59 · 237 阅读 · 0 评论 -
POJ 2253 Frogger
FroggerTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 27295 Accepted: 8871DescriptionFreddy Frog is sitting on a stone in the middle of a lake. Suddenl原创 2015-02-02 17:13:44 · 246 阅读 · 0 评论 -
POJ 3259 Wormholes
WormholesTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 32555 Accepted: 11831DescriptionWhile exploring his many farms, Farmer John has discovered a nu原创 2015-01-30 21:41:13 · 229 阅读 · 0 评论 -
POJ 1860 Currency Exchange
Currency ExchangeTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 21129 Accepted: 7575DescriptionSeveral currency exchange points are working in our city原创 2015-01-30 20:18:41 · 214 阅读 · 0 评论 -
POJ 2458 Highways
HighwaysTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 23268 Accepted: 10729DescriptionThe island nation of Flatopia is perfectly flat. Unfortunately,原创 2015-01-29 20:36:14 · 328 阅读 · 0 评论 -
POJ 3026 Borg Maze
Borg MazeTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 9073 Accepted: 3020DescriptionThe Borg is an immensely powerful race of enhanced humanoids from原创 2015-01-29 20:07:59 · 273 阅读 · 0 评论 -
POJ 1258 Agri-Net
Agri-NetTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 41919 Accepted: 17095DescriptionFarmer John has been elected mayor of his town! One of his campa原创 2015-01-29 20:28:14 · 234 阅读 · 0 评论 -
POJ 3009 Curling 2.0
Curling 2.0Time Limit: 1000MS Memory Limit: 65536KTotal Submissions: 12556 Accepted: 5291DescriptionOn Planet MM-21, after their Olympic games this year, curling原创 2015-01-27 20:37:43 · 254 阅读 · 0 评论 -
POJ 1442 Black Box
Black BoxTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 8052 Accepted: 3297DescriptionOur Black Box represents a primitive database. It can save an int原创 2015-01-27 20:06:38 · 346 阅读 · 0 评论 -
POJ 3126 Prime Path
Prime PathTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 12111 Accepted: 6876DescriptionThe ministers of the cabinet were quite upset by the message fr原创 2015-01-26 20:54:52 · 232 阅读 · 0 评论 -
How Many Points of Intersection?
HomeProblemsStatusContest[1312581032]LogoutFlyfire专场训练 76:25:01336:00:00OverviewProblemStatusRankCurrent Time: 2014-06-15 20:55:01Contes原创 2014-06-15 21:17:03 · 364 阅读 · 0 评论