摘要: Scrambled PolygonTime Limit:1000MSMemory Limit:30000KTotal Submissions:4906Accepted:2327DescriptionA closed polygon is a figure bounded by a finite number of line segments. The intersections of the bounding line segments are called the vertices of the polygon. When one starts at any vertex of a clos 阅读全文
posted @ 2012-05-07 11:19 Stephen Li 阅读(360) 评论(0) 推荐(0) 编辑
摘要: Election TimeTime Limit:1000MSMemory Limit:65536KTotal Submissions:5420Accepted:2944DescriptionThe cows are having their first election after overthrowing the tyrannical Farmer John, and Bessie is one ofNcows (1 ≤N≤ 50,000) running for President. Before the election actually happens, however, Bessie 阅读全文
posted @ 2012-05-07 10:32 Stephen Li 阅读(873) 评论(0) 推荐(0) 编辑