摘要: 题 目 :Problem DescriptionLittle E is doing geometry works. After drawing a lot of points on a plane, he want to enumerate all the triangles which the vertexes are three of the points to find out the one with minimum perimeter. Your task is to implement his work.InputThe input contains several test ca 阅读全文
posted @ 2013-08-22 10:26 lysr__tlp 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 题 目 :Problem DescriptionGiven n elements, which have two properties, say Property A and Property B. For convenience, we use two integers Aiand Bito measure the two properties.Your task is, to partition the element into two sets, say Set A and Set B , which minimizes the value of max(x∈Set A){Ax}+max 阅读全文
posted @ 2013-08-22 10:02 lysr__tlp 阅读(237) 评论(0) 推荐(0) 编辑