随笔分类 -  其它-水题

摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5327OlympiadDescriptionYou are one of the competitors of the Olympiad in numbers. The problem of this ye... 阅读全文
posted @ 2015-09-09 22:56 GadyPu 阅读(340) 评论(0) 推荐(0)
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5166Missing numberDescriptionThere is a permutation without two numbers in it, and now you know what num... 阅读全文
posted @ 2015-09-09 22:34 GadyPu 阅读(149) 评论(0) 推荐(0)
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=4593RobotDescriptionA robot is a mechanical or virtual artificial agent, usually an electro-mechanical m... 阅读全文
posted @ 2015-09-08 21:23 GadyPu 阅读(207) 评论(0) 推荐(0)
摘要: 题目连接 http://acm.hdu.edu.cn/showproblem.php?pid=5280 Senior's Array Description One day, Xuejiejie gets an array $A$. Among all non-empty intervals of $A$, she wants to find the most beautiful one. She defines the beauty as the sum of the interval. The beauty of the interval---$[L,R]$ is calculated by this formula : beauty$(L,R) = A[L]+A[L+1]+……+A[R]$. The most beautiful interval is th 阅读全文
posted @ 2015-07-12 22:33 GadyPu 阅读(188) 评论(0) 推荐(0)
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5281Senior's GunDescriptionXuejiejie is a beautiful and charming sharpshooter.She often carries $n$ guns... 阅读全文
posted @ 2015-07-12 22:33 GadyPu 阅读(295) 评论(0) 推荐(0)
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5224Tom and paperDescriptionThere is a piece of paper in front of Tom, its length and width are integer.... 阅读全文
posted @ 2015-07-02 19:40 GadyPu 阅读(191) 评论(0) 推荐(0)
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5104Primes ProblemDescriptionGiven a number n, please count how many tuple$(p_1, p_2, p_3)$ satisfied th... 阅读全文
posted @ 2015-07-02 17:32 GadyPu 阅读(143) 评论(0) 推荐(0)
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5146SequenceDescriptionToday we have a number sequence A includes n elements.Nero thinks a number sequen... 阅读全文
posted @ 2015-06-29 18:07 GadyPu 阅读(178) 评论(0) 推荐(0)
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5112A Curious MattDescriptionThere is a curious man called Matt.One day, Matt's best friend Ted is wande... 阅读全文
posted @ 2015-06-27 15:25 GadyPu 阅读(170) 评论(0) 推荐(0)
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1872稳定排序Description大家都知道,快速排序是不稳定的排序方法。如果对于数组中出现的任意a[i],a[j](i_ 2 #include 3 #include 4 #include 5 #incl... 阅读全文
posted @ 2015-06-26 19:11 GadyPu 阅读(261) 评论(0) 推荐(0)
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1196Lowest BitDescriptionGiven an positive integer $A (1 \leq A \leq 100)$, output the lowest bit of $A.... 阅读全文
posted @ 2015-06-22 22:43 GadyPu 阅读(216) 评论(0) 推荐(0)
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5273Dylans loves sequenceDescriptionDylans is given $N$ numbers $a[1]....a[N]$And there are $Q$ question... 阅读全文
posted @ 2015-06-21 19:19 GadyPu 阅读(139) 评论(0) 推荐(0)
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5272Dylans loves numbersDescriptionWho is Dylans?You can find his ID in UOJ and Codeforces.His another I... 阅读全文
posted @ 2015-06-21 19:07 GadyPu 阅读(151) 评论(0) 推荐(0)
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5058So easyDescriptionSmall W gets two files. There are n integers in each file. Small W wants to know w... 阅读全文
posted @ 2015-06-08 21:10 GadyPu 阅读(154) 评论(0) 推荐(0)
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=2091空心三角形Description把一个字符三角形掏空,就能节省材料成本,减轻重量,但关键是为了追求另一种视觉效果。在设计的过程中,需要给出各种花纹的材料和大小尺寸的三角形样板,通过电脑临时做出来,以便... 阅读全文
posted @ 2015-06-08 20:54 GadyPu 阅读(318) 评论(0) 推荐(0)
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5142NPY and FFTDescriptionA boy named NPY is learning FFT algorithm now.In that algorithm,he needs to do... 阅读全文
posted @ 2015-06-08 18:11 GadyPu 阅读(1402) 评论(0) 推荐(0)