摘要: 链接:E - Oil Deposits 题目: The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one larg 阅读全文
posted @ 2020-01-23 12:50 懒懒的Sideny 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 链接:红与黑 Input 有一间长方形的房子,地上铺了红色、黑色两种颜色的正方形瓷砖。你站在其中一块黑色的瓷砖上,只能向相邻的黑色瓷砖移动。请写一个程序,计算你总共能够到达多少块黑色的瓷砖。 包括多个数据集合。每个数据集合的第一行是两个整数W和H,分别表示x方向和y方向瓷砖的数量。W和H都不超过20 阅读全文
posted @ 2020-01-23 12:25 懒懒的Sideny 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 链接:http://poj.org/problem?id=3278 题目: Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at 阅读全文
posted @ 2020-01-23 12:07 懒懒的Sideny 阅读(145) 评论(0) 推荐(0) 编辑