摘要: Shaping RegionsN opaque rectangles (1 <= N <= 1000) of various colors are placed on a white sheet of paper whose size is A wide by B long. The rectangles are put with their sides parallel to the sheet's borders. All rectangles fall within the borders of the sheet so that different figures 阅读全文
posted @ 2012-06-24 15:41 AbandonZHANG 阅读(407) 评论(0) 推荐(0)
摘要: A.XiangqiTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 924Accepted Submission(s): 244Problem DescriptionXiangqi is one of the most popular two-player board games in China. The game represents a battle between two armies with the goal of capturing 阅读全文
posted @ 2012-06-24 00:40 AbandonZHANG 阅读(638) 评论(0) 推荐(0)