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

上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 27 下一页

HDU 4267 A Simple Problem with Integers 第37届ACM/ICPC长春赛区网络赛1001题 (树状数组)
摘要:A Simple Problem with IntegersTime Limit: 5000/1500 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 659Accepted Submission(s): 253Problem DescriptionLet A1, A2, ... , AN be N elements. You need to deal with two kinds of operations. One type of operation is to add a give 阅读全文

posted @ 2012-09-10 17:15 kuangbin 阅读(1302) 评论(0) 推荐(0)

HDU 4277 USACO ORZ 第37届ACM/ICPC长春赛区网络赛1011题(搜索)
摘要:USACO ORZTime Limit: 5000/1500 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1099Accepted Submission(s): 398Problem DescriptionLike everyone, cows enjoy variety. Their current fancy is new shapes for pastures. The old rectangular shapes are out of favor; new geometrie 阅读全文

posted @ 2012-09-10 17:12 kuangbin 阅读(567) 评论(0) 推荐(0)

HDU 4282 A very hard mathematic problem 第37届ACM/ICPC长春赛区网络赛1005题 (暴力)
摘要:A very hard mathematic problemTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 964Accepted Submission(s): 279Problem Description Haoren is very good at solving mathematic problems. Today he is working a problem like this: Find three positive inte... 阅读全文

posted @ 2012-09-10 17:04 kuangbin 阅读(936) 评论(0) 推荐(0)

HDU 4287 Intelligent IME 第37届ACM/ICPC天津赛区网络赛1010题 (水题)
摘要:Intelligent IMETime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 399Accepted Submission(s): 207Problem Description We all use cell phone today. And we must be familiar with the intelligent English input method on the cell phone. To be specific, the . 阅读全文

posted @ 2012-09-10 15:46 kuangbin 阅读(917) 评论(0) 推荐(0)

HDU 4279 Number 第37届ACM/ICPC天津赛区网络赛1002题 (简单规律题)
摘要:NumberTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 640Accepted Submission(s): 207Problem Description Here are two numbers A and B (0 < A <= B). If B cannot be divisible by A, and A and B are not co-prime numbers, we define A as a special n 阅读全文

posted @ 2012-09-10 15:36 kuangbin 阅读(769) 评论(0) 推荐(0)

HDU 4278 Faulty Odometer 第37届ACM/ICPC天津赛区网络赛1001题 (简单水题)
摘要:Faulty OdometerTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 312Accepted Submission(s): 228Problem Description You are given a car odometer which displays the miles traveled as an integer. The odometer has a defect, however: it proceeds from the. 阅读全文

posted @ 2012-09-10 15:11 kuangbin 阅读(1480) 评论(0) 推荐(0)

HDU 4099 Revenge of Fibonacci(字典树)
摘要:Revenge of FibonacciTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 204800/204800 K (Java/Others)Total Submission(s): 914Accepted Submission(s): 197Problem DescriptionThe well-known Fibonacci sequence is defined as following:Here we regard n as the index of the Fibonacci number F(n).This sequen 阅读全文

posted @ 2012-09-06 17:36 kuangbin 阅读(2177) 评论(1) 推荐(0)

HDU 3501 Calculation 2(欧拉函数的引申)
摘要:Calculation 2Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1264Accepted Submission(s): 530Problem DescriptionGiven a positive integer N, your task is to calculate the sum of the positive integers less than N which are not coprime to N. A is said 阅读全文

posted @ 2012-09-06 16:38 kuangbin 阅读(399) 评论(0) 推荐(0)

HDU 2802 F(N)(简单题,找循环解)
摘要:F(N)Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2037Accepted Submission(s): 677Problem DescriptionGiving the N, can you tell me the answer of F(N)?InputEach test case contains a single integer N(1<=N<=10^9). The input is terminated by a s 阅读全文

posted @ 2012-09-06 15:20 kuangbin 阅读(1122) 评论(0) 推荐(0)

HDU 4221 Greedy?(贪心)
摘要:Greedy?Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 908Accepted Submission(s): 284Problem DescriptioniSea is going to be CRAZY! Recently, he was assigned a lot of works to do, so many that you can't imagine. Each task costs Ci time as least, 阅读全文

posted @ 2012-09-05 23:30 kuangbin 阅读(1194) 评论(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): 1183Accepted Submission(s): 273Problem DescriptionThe Mid-Autumn Festival, also known as the Moon Festival or Zhongqiu Festival is a popular harvest festival celebrated by Chi 阅读全文

posted @ 2012-09-02 22:43 kuangbin 阅读(953) 评论(0) 推荐(0)

HDU 3635 Dragon Balls(并查集)
摘要:Dragon BallsTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1201Accepted Submission(s): 484Problem DescriptionFive hundred years later, the number of dragon balls will increase unexpectedly, so it's too difficult for Monkey King(WuKong) to gath 阅读全文

posted @ 2012-08-30 21:04 kuangbin 阅读(2956) 评论(1) 推荐(2)

HDU 4302 Holedox Eating(优先队列或者线段树)
摘要:Holedox EatingTime Limit: 4000/2000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1830Accepted Submission(s): 634Problem DescriptionHoledox is a small animal which can be considered as one point. It lives in a straight pipe whose length is L. Holedox can only move alo 阅读全文

posted @ 2012-08-30 19:27 kuangbin 阅读(1110) 评论(0) 推荐(0)

HDU 4301 Divide Chocolate(找规律,DP)
摘要:Divide ChocolateTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1061Accepted Submission(s): 505Problem DescriptionIt is well known that claire likes dessert very much, especially chocolate. But as a girl she also focuses on the intake of calories e 阅读全文

posted @ 2012-08-30 17:47 kuangbin 阅读(895) 评论(0) 推荐(0)

HDU 3530 Subsequence(单调队列)
摘要:SubsequenceTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2641Accepted Submission(s): 869Problem DescriptionThere is a sequence of integers. Your task is to find the longest subsequence that satisfies the following condition: the difference betwee 阅读全文

posted @ 2012-08-30 16:00 kuangbin 阅读(1759) 评论(0) 推荐(0)

HDU 2594 Simpsons’ Hidden Talents(简单KMP)
摘要:Simpsons’ Hidden TalentsTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 939Accepted Submission(s): 321Problem DescriptionHomer: Marge, I just figured out a way to discover some of the talents we weren’t aware we had.Marge: Yeah, what is it?Homer: T 阅读全文

posted @ 2012-08-30 14:13 kuangbin 阅读(1174) 评论(0) 推荐(0)

HDU 3746 Cyclic Nacklace(KMP求循环节)
摘要:Cyclic NacklaceTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1255Accepted Submission(s): 538Problem DescriptionCC always becomes very depressed at the end of this month, he has checked his credit card yesterday, without any surprise, there are on 阅读全文

posted @ 2012-08-30 12:01 kuangbin 阅读(2641) 评论(1) 推荐(0)

HDU 3336 Count the string(KMP)
摘要:Count the stringTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2191Accepted Submission(s): 1038Problem DescriptionIt is well known that AekdyCoin is good at string problems as well as number theory problems. When given a string s, we can write dow 阅读全文

posted @ 2012-08-30 11:54 kuangbin 阅读(1199) 评论(0) 推荐(0)

HDU 3586 Information Disturbing(二分答案+树形DP)
摘要:Information DisturbingTime Limit: 6000/3000 MS (Java/Others)Memory Limit: 131072/65536 K (Java/Others)Total Submission(s): 844Accepted Submission(s): 304Problem DescriptionIn the battlefield , an effective way to defeat enemies is to break their communication system.The information department told y 阅读全文

posted @ 2012-08-29 21:29 kuangbin 阅读(537) 评论(0) 推荐(0)

HDU 4044 GeoDefense(树形DP+分组背包)
摘要:GeoDefenseTime Limit: 12000/5000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 347Accepted Submission(s): 138Problem DescriptionTower defense is a kind of real-time strategy computer games. The goal of tower defense games is to try to stop enemies from reaching your b 阅读全文

posted @ 2012-08-29 20:30 kuangbin 阅读(1211) 评论(2) 推荐(0)

上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 27 下一页

导航

JAVASCRIPT: