随笔分类 -  ACM(HOJ)题目解题报告

上一页 1 2 3 4 5 6 ··· 27 下一页

HDU 3974 Assign the task(简单线段树)
摘要:Assign the taskTime Limit: 15000/5000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 636Accepted Submission(s): 322Problem DescriptionThere is a company that has N employees(numbered from 1 to N),every employee in the company has a immediate boss (except for the leader 阅读全文

posted @ 2013-11-17 22:24 kuangbin 阅读(3569) 评论(0) 推荐(1)

HDU 4778 Gems Fight! (2013杭州赛区1009题,状态压缩,博弈)
摘要:Gems Fight!Time Limit: 20000/10000 MS (Java/Others)Memory Limit: 327680/327680 K (Java/Others)Total Submission(s): 114Accepted Submission(s): 46Problem Description Alice and Bob are playing "Gems Fight!": There are Gems of G different colors , packed in B bags. Each bag has several Gems. G 阅读全文

posted @ 2013-11-09 22:44 kuangbin 阅读(2214) 评论(2) 推荐(0)

HDU 4777 Rabbit Kingdom (2013杭州赛区1008题,预处理,树状数组)
摘要:Rabbit KingdomTime Limit: 6000/3000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 40Accepted Submission(s): 20Problem Description Long long ago, there was an ancient rabbit kingdom in the forest. Every rabbit in this kingdom was not cute but totally pugnacious, so th. 阅读全文

posted @ 2013-11-09 22:33 kuangbin 阅读(3060) 评论(0) 推荐(0)

HDU 4772 Zhuge Liang's Password (2013杭州1003题,水题)
摘要:Zhuge Liang's PasswordTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 59Accepted Submission(s): 47Problem Description In the ancient three kingdom period, Zhuge Liang was the most famous and smart military leader. His enemy was Sima Yi, the mil 阅读全文

posted @ 2013-11-09 22:26 kuangbin 阅读(1803) 评论(0) 推荐(0)

HDU 4771 Stealing Harry Potter's Precious (2013杭州赛区1002题,bfs,状态压缩)
摘要:Stealing Harry Potter's PreciousTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 126Accepted Submission(s): 63Problem Description Harry Potter has some precious. For example, his invisible robe, his wand and his owl. When Hogwarts school is in h 阅读全文

posted @ 2013-11-09 22:23 kuangbin 阅读(1661) 评论(0) 推荐(0)

HDU 4770 Lights Against Dudely (2013杭州赛区1001题,暴力枚举)
摘要:Lights Against DudelyTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 171Accepted Submission(s): 53Problem DescriptionHarry: "But Hagrid. How am I going to pay for all of this? I haven't any money."Hagrid: "Well there's your m 阅读全文

posted @ 2013-11-09 22:22 kuangbin 阅读(1593) 评论(0) 推荐(0)

HDU 4123 Bob’s Race(树形DP,rmq)
摘要:Bob’s RaceTime Limit: 5000/2000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1994Accepted Submission(s): 619Problem DescriptionBob wants to hold a race to encourage people to do sports. He has got trouble in choosing the route. There are N houses and N - 1 roads in h 阅读全文

posted @ 2013-11-08 18:27 kuangbin 阅读(1493) 评论(0) 推荐(0)

HDU 4122 Alice's mooncake shop (RMQ)
摘要:Alice's mooncake shopTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2596Accepted Submission(s): 619Problem DescriptionThe Mid-Autumn Festival, also known as the Moon Festival or Zhongqiu Festival is a popular harvest festival celebrated by Chi 阅读全文

posted @ 2013-11-08 12:22 kuangbin 阅读(734) 评论(0) 推荐(0)

HDU 4453 Looploop (伸展树splay tree)
摘要:LooploopTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 781Accepted Submission(s): 220Problem DescriptionXXX gets a new toy named Looploop. The toy has N elements arranged in a loop, an arrow pointing to one of the elements, and two preset paramete 阅读全文

posted @ 2013-10-23 00:26 kuangbin 阅读(970) 评论(0) 推荐(0)

HDU 4436 str2int (后缀自动机SAM,多串建立)
摘要:str2intTime Limit: 6000/3000 MS (Java/Others)Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 841Accepted Submission(s): 297Problem DescriptionIn this problem, you are given several strings that contain only digits from '0' to '9', inclusive.An example is shown below.1 阅读全文

posted @ 2013-10-11 19:25 kuangbin 阅读(1839) 评论(0) 推荐(0)

HDU 4498 Function Curve (自适应simpson)
摘要:Function CurveTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65535/65535 K (Java/Others)Total Submission(s): 203Accepted Submission(s): 67Problem DescriptionGiven sequences of k1, k2, … kn, a1, a2, …, anand b1, b2, …, bn. Consider following function:Then we draw F(x) on a xy-plane, the value of 阅读全文

posted @ 2013-10-09 12:40 kuangbin 阅读(1415) 评论(0) 推荐(0)

HDU 4423 Simple Function(数学题,2012长春D题)
摘要:Simple FunctionTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 111Accepted Submission(s): 31Problem DescriptionKnowing that x can be any real number that x2+ Dx + E ≠ 0. Now, given the following function:What is the range of y?InputThe first line c 阅读全文

posted @ 2013-10-05 23:09 kuangbin 阅读(1225) 评论(0) 推荐(0)

HDU 4763 Theme Section (2013长春网络赛1005,KMP)
摘要:Theme SectionTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 271Accepted Submission(s): 121Problem DescriptionIt's time for music! A lot of popular musicians are invited to join us in the music festival. Each of them will play one of their repr 阅读全文

posted @ 2013-09-29 19:00 kuangbin 阅读(1956) 评论(0) 推荐(0)

HDU 4764 Stone (2013长春网络赛,水博弈)
摘要:StoneTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 179Accepted Submission(s): 137Problem DescriptionTang and Jiang are good friends. To decide whose treat it is for dinner, they are playing a game. Specifically, Tang and Jiang will alternatively 阅读全文

posted @ 2013-09-29 17:33 kuangbin 阅读(1447) 评论(0) 推荐(0)

HDU 4762 Cut the Cake (2013长春网络赛1004题,公式题)
摘要:Cut the CakeTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 300Accepted Submission(s): 135Problem DescriptionMMM got a big big big cake, and invited all her M friends to eat the cake together. Surprisingly one of her friends HZ took some (N) strawb 阅读全文

posted @ 2013-09-29 17:30 kuangbin 阅读(1698) 评论(0) 推荐(0)

HDU 4759 Poker Shuffle(2013长春网络赛1001题)
摘要:Poker ShuffleTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 95Accepted Submission(s): 24Problem DescriptionJason is not only an ACMer, but also a poker nerd. He is able to do a perfect shuffle. In a perfect shuffle, the deck containing K cards, wh 阅读全文

posted @ 2013-09-29 16:56 kuangbin 阅读(1425) 评论(0) 推荐(0)

HDU 4768 Flyer (2013长春网络赛1010题,二分)
摘要:FlyerTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 386Accepted Submission(s): 127Problem DescriptionThe new semester begins! Different kinds of student societies are all trying to advertise themselves, by giving flyers to the students for introdu 阅读全文

posted @ 2013-09-29 00:00 kuangbin 阅读(1269) 评论(0) 推荐(1)

HDU 4751 Divide Groups (2013南京网络赛1004题,判断二分图)
摘要:Divide GroupsTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 423Accepted Submission(s): 161Problem DescriptionThis year is the 60th anniversary of NJUST, and to make the celebration more colorful, Tom200 is going to invite distinguished alumnus bac 阅读全文

posted @ 2013-09-22 12:17 kuangbin 阅读(1318) 评论(0) 推荐(0)

HDU 4750 Count The Pairs (2013南京网络赛1003题,并查集)
摘要:Count The PairsTime Limit: 20000/10000 MS (Java/Others)Memory Limit: 65535/65535 K (Java/Others)Total Submission(s): 277Accepted Submission(s): 150Problem DescriptionWith the 60th anniversary celebration of Nanjing University of Science and Technology coming soon, the university sets n tourist spots 阅读全文

posted @ 2013-09-22 12:15 kuangbin 阅读(727) 评论(0) 推荐(0)

HDU 4758 Walk Through Squares (2013南京网络赛1011题,AC自动机+DP)
摘要:Walk Through SquaresTime Limit: 4000/2000 MS (Java/Others)Memory Limit: 65535/65535 K (Java/Others)Total Submission(s): 200Accepted Submission(s): 57Problem DescriptionOn the beaming day of 60th anniversary of NJUST, as a military college which was Second Artillery Academy of Harbin Military Enginee 阅读全文

posted @ 2013-09-22 12:12 kuangbin 阅读(1163) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 ··· 27 下一页

导航

JAVASCRIPT: