摘要: 题目名称:Fire Game题目链接:http://acm.fzu.edu.cn/problem.php?pid=2150题意:给出一个m*n的图,‘#’表示草坪,‘ . ’表示空地,然后可以选择在任意的两个草坪格子点火,火每秒会向周围四个格子扩散,问选择那两个点使得燃烧所有的草坪花费时间最小?思路... 阅读全文
posted @ 2015-07-25 11:26 maplefighting 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 题目名称:Fire!题目链接:https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2671题意:joe在一个迷宫里,有地方着火,火的蔓延方向是上下左右,每次一格... 阅读全文
posted @ 2015-07-25 11:01 maplefighting 阅读(182) 评论(0) 推荐(0) 编辑