摘要:
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 阅读全文
摘要:
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 阅读全文