摘要: 题目:https://vjudge.net/problem/UVA-11624/origin 我最先想的是先bfs火焰蔓延,用一个三维数组记录不同步数下的火焰情况。(第一位是步数,第二维第三维是坐标)然后再bfsJoe的走路情况。但是在bfs火焰蔓延的地方有些麻烦。 百度了一下有两种想法: 第一种: 阅读全文
posted @ 2020-09-15 13:53 反射狐 阅读(138) 评论(0) 推荐(0)
摘要: The ministers of the cabinet were quite upset by the message from the Chief of Security stating that they would all have to change the four-digit room 阅读全文
posted @ 2020-09-15 10:03 反射狐 阅读(113) 评论(0) 推荐(0)