摘要:
例题:hdu 3790题目链接http://acm.hdu.edu.cn/showproblem.php?pid=3790题意概括给出一个无向图,图中每个节点的权值有两个,一个是距离,一个是花费,求起点到终点的最短距离及其花费。解题思路这个题跟模板题的差距就是多了一个... 阅读全文
摘要:
阅读全文
摘要:
Repeat Number题目描述Definition: a+b = c, if all the digits of c are same ( c is more than ten),then we call a and b are Repeat Number. My... 阅读全文
摘要:
转载于acm之家http://www.acmerblog.com/hdu-1003-Max-Sum-1258.htmlMax SumTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 ... 阅读全文