程序代码
文章平均质量分 80
愿时光能缓愿故人不散
没有简述啊
展开
-
HDU--1284 钱币兑换问题
钱币兑换问题 Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 2 Accepted Submission(s) : 2Font: Times New Roman | Verdana | Georgia Font Size:原创 2014-06-09 21:32:27 · 629 阅读 · 0 评论 -
HDU--1059 Dividing
Marsha and Bill own a collection of marbles. They want to split the collection among themselves so that both receive an equal share of the marbles. This would be easy if all the marbles had the same v原创 2014-06-09 21:05:36 · 649 阅读 · 0 评论 -
HDU--3449 Consumer
Consumer Time Limit : 4000/2000ms (Java/Other) Memory Limit : 32768/65536K (Java/Other)Problem DescriptionFJ is going to do some shopping, and before that, he needs some boxes to carry the dif原创 2014-06-09 22:47:57 · 710 阅读 · 0 评论 -
HDU--3496 Watch The Movie
Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/65535 K (Java/Others)Total Submission(s): 5132 Accepted Submission(s): 1626Problem DescriptionNew semester is coming, and DuoDu原创 2014-06-12 16:54:35 · 651 阅读 · 0 评论 -
HDU--1507 Uncle Tom's Inherited Land* (二分匹配)
Problem DescriptionYour old uncle Tom inherited a piece of land from his great-great-uncle. Originally, the property had been in the shape of a rectangle. A long time ago, however, his great-great原创 2014-07-29 14:05:28 · 569 阅读 · 0 评论 -
HDU--3033 I love sneakers!
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3693 Accepted Submission(s): 1514Problem DescriptionAfter months of hard workin原创 2014-06-12 17:13:09 · 781 阅读 · 0 评论 -
HDU--3605 Escape (多重匹配)
Problem Description2012 If this is the end of the world how to do? I do not know how. But now scientists have found that some stars, who can live, but some people do not fit to live some of the pl原创 2014-07-30 18:45:49 · 633 阅读 · 0 评论 -
HDU--1429 胜利大逃亡(续)
Problem DescriptionIgnatius再次被魔王抓走了(搞不懂他咋这么讨魔王喜欢)……这次魔王汲取了上次的教训,把Ignatius关在一个n*m的地牢里,并在地牢的某些地方安装了带锁的门,钥匙藏在地牢另外的某些地方。刚开始Ignatius被关在(sx,sy)的位置,离开地牢的门在(ex,ey)的位置。Ignatius每分钟只能从一个坐标走到相邻四个坐标中的其中一个。原创 2014-08-09 20:20:58 · 567 阅读 · 0 评论 -
区间重叠的判断
判断区间 [x0, y0] 和区间 [x1,y1] 是否重叠,或者重叠部分区间是多少如果要重叠部分是多少(前提是有重叠部分),重叠区间为 [max(x0, x1), min(y0, y1)]bool function(int x0,int y0,int x1,int y1){ return x0<y1 && x1<y0;}原创 2016-05-07 20:35:37 · 601 阅读 · 0 评论