摘要:
题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5281Senior's GunDescriptionXuejiejie is a beautiful and charming sharpshooter.She often carries $n$ guns... 阅读全文
摘要:
题目连接
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 阅读全文
![](http://files.cnblogs.com/files/GadyPu/%E6%AF%8D%E5%85%94%E5%AD%90.gif)
摘要:
题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1285确定比赛名次Description有$N$个比赛队$(1 \leq N \leq 500)$,编号依次为$1,2,3,...$ $N$进行比赛,比赛结束后,裁判委员会要将所有参赛队伍从前往后依次排名,... 阅读全文