链接:
HDU : http://acm.hdu.edu.cn/showproblem.php?pid2489
POJ : http://poj.org/problem?id3925 题目: Problem Description For a tree, which nodes and edges are all weighted, the ratio of it is calculated acco…
题目:
Minimal Ratio Tree
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1140 Accepted Submission(s): 348 Problem Description For a tree, which nodes and edges are all weighted, th…
病毒侵袭
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4441 Accepted Submission(s): 1138 Problem Description 当太阳的光辉逐渐被月亮遮蔽,世界失去了光明,大地迎来最黑暗的时刻…
分拆素数和
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 14023 Accepted Submission(s): 6023 Problem Description 把一个偶数拆成两个不同素数的和,有几种拆法呢? Input 输入包含…