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

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

HDU 4745 Two Rabbits (2013杭州网络赛1008,最长回文子串)
摘要:Two RabbitsTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 65535/65535 K (Java/Others)Total Submission(s): 505Accepted Submission(s): 260Problem DescriptionLong long ago, there lived two rabbits Tom and Jerry in the forest. On a sunny afternoon, they planned to play a game with some stones. The 阅读全文

posted @ 2013-09-17 23:58 kuangbin 阅读(693) 评论(0) 推荐(0)

HDU 4747 Mex (2013杭州网络赛1010题,线段树)
摘要:MexTime Limit: 15000/5000 MS (Java/Others)Memory Limit: 65535/65535 K (Java/Others)Total Submission(s): 623Accepted Submission(s): 209Problem DescriptionMex is a function on a set of integers, which is universally used for impartial game theorem. For a non-negative integer set S, mex(S) is defined a 阅读全文

posted @ 2013-09-17 23:50 kuangbin 阅读(3229) 评论(0) 推荐(1)

HDU 4741 Save Labman No.004 (2013杭州网络赛1004题,求三维空间异面直线的距离及最近点)
摘要:Save Labman No.004Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 624Accepted Submission(s): 154Problem DescriptionDue to the preeminent research conducted by Dr. Kyouma, human beings have a breakthrough in the understanding of time and universe. A 阅读全文

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

HDU 4739 Zhuge Liang's Mines (2013杭州网络赛1002题)
摘要:Zhuge Liang's MinesTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 239Accepted Submission(s): 110Problem DescriptionIn the ancient three kingdom period, Zhuge Liang was the most famous and smartest military leader. His enemy was Shima Yi, who a 阅读全文

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

HDU 4738 Caocao's Bridges (2013杭州网络赛1001题,连通图,求桥)
摘要:Caocao's BridgesTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 194Accepted Submission(s): 89Problem DescriptionCaocao was defeated by Zhuge Liang and Zhou Yu in the battle of Chibi. But he wouldn't give up. Caocao's army still was not 阅读全文

posted @ 2013-09-15 22:38 kuangbin 阅读(3190) 评论(1) 推荐(0)

HDU 4737 A Bit Fun (2013成都网络赛)
摘要:A Bit FunTime Limit: 5000/2500 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 423Accepted Submission(s): 270Problem DescriptionThere are n numbers in a array, as a0, a1... , an-1, and another number m. We define a function f(i, j) = ai|ai+1|ai+2| ... | aj. Where " 阅读全文

posted @ 2013-09-15 00:27 kuangbin 阅读(1263) 评论(0) 推荐(0)

HDU 4734 F(x) (2013成都网络赛,数位DP)
摘要:F(x)Time Limit: 1000/500 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 382Accepted Submission(s): 137Problem DescriptionFor a decimal number x with n digits (AnAn-1An-2... A2A1), we define its weight as F(x) = An* 2n-1+ An-1* 2n-2+ ... + A2* 2 + A1* 1. Now you are giv 阅读全文

posted @ 2013-09-15 00:25 kuangbin 阅读(3253) 评论(1) 推荐(0)

HDU 4733 G(x) (2013成都网络赛,递推)
摘要:G(x)Time Limit: 2000/500 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 184Accepted Submission(s): 44Problem DescriptionFor a binary number x with n digits (AnAn-1An-2... A2A1), we encode it asWhere "" is bitwise XOR operation and "" indicates the l 阅读全文

posted @ 2013-09-15 00:22 kuangbin 阅读(1729) 评论(2) 推荐(0)

HDU 4731 Minimum palindrome (2013成都网络赛,找规律构造)
摘要:Minimum palindromeTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 260Accepted Submission(s): 127Problem DescriptionSetting password is very important, especially when you have so many "interesting" things in "F:\TDDOWNLOAD".We d 阅读全文

posted @ 2013-09-15 00:18 kuangbin 阅读(1122) 评论(0) 推荐(0)

HDU 4730 We Love MOE Girls (2013成都网络赛,签到水题)
摘要:We Love MOE GirlsTime Limit: 1000/500 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 208Accepted Submission(s): 157Problem DescriptionChikami Nanako is a girl living in many different parallel worlds. In this problem we talk about one of them.In this world, Nanako has 阅读全文

posted @ 2013-09-15 00:13 kuangbin 阅读(1322) 评论(0) 推荐(0)

HDU 4718 The LCIS on the Tree (动态树LCT)
摘要:The LCIS on the TreeTime Limit: 6000/3000 MS (Java/Others)Memory Limit: 65535/65535 K (Java/Others)Total Submission(s): 175Accepted Submission(s): 40Problem DescriptionFor a sequence S1, S2, ... , SN, and a pair of integers (i, j), if 1 9 #include 10 #include 11 #include 12 #include 13 #includ... 阅读全文

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

HDU 4727 The Number Off of FFF (水题)
摘要:The Number Off of FFFTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 78Accepted Submission(s): 36Problem DescriptionX soldiers from the famous "*FFF*army" is standing in a line, from left to right.You, as the captain of*FFF*, decides to h 阅读全文

posted @ 2013-09-11 17:47 kuangbin 阅读(1133) 评论(0) 推荐(0)

HDU 4726 Kia's Calculation(贪心)
摘要:Kia's CalculationTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 83Accepted Submission(s): 16Problem DescriptionDoctor Ghee is teaching Kia how to calculate the sum of two integers. But Kia is so careless and alway forget to carry a number when 阅读全文

posted @ 2013-09-11 17:46 kuangbin 阅读(1708) 评论(0) 推荐(0)

HDU 4725 The Shortest Path in Nya Graph (最短路)
摘要:The Shortest Path in Nya GraphTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 37Accepted Submission(s): 6Problem DescriptionThis is a very easy problem, your task is just calculate el camino mas corto en un grafico, and just solo hay que cambiar un 阅读全文

posted @ 2013-09-11 17:44 kuangbin 阅读(4047) 评论(11) 推荐(0)

HDU 4720 Naive and Silly Muggles (简单计算几何)
摘要:Naive and Silly MugglesTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 24Accepted Submission(s): 17Problem DescriptionThree wizards are doing a experiment. To avoid from bothering, a special magic is set around them. The magic forms a circle, which 阅读全文

posted @ 2013-09-11 17:38 kuangbin 阅读(1355) 评论(0) 推荐(0)

HDU 4717 The Moving Points (三分)
摘要:The Moving PointsTime Limit: 6000/3000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 72Accepted Submission(s): 18Problem DescriptionThere are N points in total. Every point moves in certain direction and certain speed. We want to know at what time that the largest dis 阅读全文

posted @ 2013-09-11 17:35 kuangbin 阅读(923) 评论(1) 推荐(0)

HDU 4716 A Computer Graphics Problem (水题)
摘要:A Computer Graphics ProblemTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 43Accepted Submission(s): 40Problem DescriptionIn this problem we talk about the study of Computer Graphics. Of course, this is very, very hard.We have designed a new mobile 阅读全文

posted @ 2013-09-11 17:34 kuangbin 阅读(786) 评论(0) 推荐(0)

HDU 4714 Tree2cycle (树形DP)
摘要:Tree2cycleTime Limit: 15000/8000 MS (Java/Others)Memory Limit: 102400/102400 K (Java/Others)Total Submission(s): 324Accepted Submission(s): 54Problem DescriptionA tree with N nodes and N-1 edges is given. To connect or disconnect one edge, we need 1 unit of cost respectively. The nodes are labeled f 阅读全文

posted @ 2013-09-08 19:51 kuangbin 阅读(1274) 评论(0) 推荐(0)

HDU 4715 Difference Between Primes
摘要:Difference Between PrimesTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 338Accepted Submission(s): 78Problem DescriptionAll you know Goldbach conjecture.That is to say, Every even integer greater than 2 can be expressed as the sum of two primes. T 阅读全文

posted @ 2013-09-08 19:51 kuangbin 阅读(710) 评论(0) 推荐(0)

HDU 4710 Balls Rearrangement
摘要:Balls RearrangementTime Limit: 6000/3000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 93Accepted Submission(s): 35Problem DescriptionBob has N balls and A boxes. He numbers the balls from 0 to N-1, and numbers the boxes from 0 to A-1. To find the balls easily, he put 阅读全文

posted @ 2013-09-08 19:48 kuangbin 阅读(512) 评论(0) 推荐(0)

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

导航

JAVASCRIPT: