Home Page | Web Board | Problems | Standing | Status | Statistics | Award Contest |
Contest - POJ Monthly--2006.08.27
Start time: 2006-08-27 12:00:00 End time: 2006-08-27 17:00:00
Current System Time: 2025-05-01 05:43:53.336 Contest Status:
Ended
Problem ID | Title |
2981 Problem A | Deal of Fortune |
2982 Problem B | Time Travel |
2983 Problem C | Is the Information Reliable? |
2984 Problem D | A New Joseph Problem |
2985 Problem E | The k-th Largest Group |
2986 Problem F | A Triangle and a Circle |
2987 Problem G | Firing |
2988 Problem H | Function Approximation |
[Standings] [Status] [Statistics]
Contest Report |
Problem A: Deal of Fortune It is a typical k-SAT model mixed with string manipulation. Yet this problem is not intended as a algorithmically hard problem. A randomized local search will be sufficient. 这个一个混合了字符串处理的k-SAT模型。但这个题目并不作为一个算法性很难的题目出现。随机搜索就足够了。 Problem B: Time Travel A dynamic programming approach is good for this problem. For further improvement, it can be combined with a shortest path algorithm for graphs with nonnegative arc lengths. 一个好的做法是动态规划。如果要进一步优化的话,可以结合一个应用于无负权弧的图的最短路算法。Problem C: Is the Information Reliable? The task is to determine the satisfiability of a differential constraints system. By using disjoint sets to handle those P 提示,剩下的工作可以交给Bellman-Ford算法。Problem D: A New Joseph Problem Let n be the number of “1” bits in the binary representation of N, then the answer is 2n − 1. 设N的二进制表示中1的个数是n,那么答案就是2n − 1。Problem E: The k-th Largest Group Use disjoint sets to maintain the groups and use either a segment tree or a binary search tree to find the k-th largest group. 用并查集维护所有的组,然后用线段树或二叉搜索树查找第k大的组。Problem F: A Triangle and a Circle You have to classify the instances into several classes and handle each of them carefully. 要把实例分成好几类,然后仔细处理每一类。Problem G: Firing The boss-underling relationship can be modeled by a directed graph. Transformation into a flow network will provide a solution. 上司-下属关系可以用有向图来描述,可以转化成流网络解决。Problem H: Function Approximation Those definitions actually define a continuous piecewise linear function f(x) and and its approximate variant g(x). Perform dynamic programming on the selection of indices ik to find the optimal approximation. 那些定义实际上定义了一个连续的分段线性函数f(x)和它一个近似g(x)。对指标ik的选择实施动态规划来寻找最优近似。 |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator