摘要: 奶牛农场Description将军有一个用栅栏围成的矩形农场和一只奶牛,在农场的一个角落放有一只矩形的箱子,有一天将军要出门,他就把奶牛用一根绳子套牢,然后将绳子的另一端绑到了那个箱子不靠栅栏的角上,现在给定箱子的长和宽,绳子的长度,你的问题是计算奶牛能够到达的面积。Input有多组测试数据。 每一... 阅读全文
posted @ 2015-06-24 18:22 哈特13 阅读(380) 评论(0) 推荐(0) 编辑
摘要: March of the PenguinsTime Limit:8000MSMemory Limit:65536KTotal Submissions:4378Accepted:1988DescriptionSomewhere near the south pole, a number of peng... 阅读全文
posted @ 2015-06-24 17:56 哈特13 阅读(441) 评论(0) 推荐(0) 编辑
摘要: EscapeDescriptionBH is in a maze,the maze is a matrix,he wants to escape!InputThe input consists of multiple test cases.For each case,the first line c... 阅读全文
posted @ 2015-06-24 17:40 哈特13 阅读(287) 评论(0) 推荐(0) 编辑
摘要: 同swustoj 169Interior Points of Lattice PolygonsTime Limit:1000MSMemory Limit:65536KTotal Submissions:229Accepted:152DescriptionAlattice pointis a poin... 阅读全文
posted @ 2015-06-24 17:36 哈特13 阅读(310) 评论(0) 推荐(0) 编辑
摘要: 同swustoj 11BilliardTime Limit:1000MSMemory Limit:65536KTotal Submissions:1362Accepted:842DescriptionIn a billiard table with horizontal side a inches ... 阅读全文
posted @ 2015-06-24 17:19 哈特13 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 同swustoj 8SnakesTime Limit:1000MSMemory Limit:65536KTotal Submissions:1015Accepted:341DescriptionBuffalo Bill wishes to cross a 1000x1000 square field... 阅读全文
posted @ 2015-06-24 17:10 哈特13 阅读(358) 评论(0) 推荐(0) 编辑