10 10
......##..
...#....##
##.#..#...
.#.##....#
.#.##.#...
...##..#..
...##.....
.#.#..###.
#.#.#.
<15 bytes omitted>
用户输出
25
系统信息
Exited with return code 0
编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#20361 | #1029. 霍霍想回家 | Accepted | 100 | 21 ms | 412 K | C++ / 2.2 K | 192022214033 | 2024-12-13 12:44:55 |
using namespace std;
int n = 0, m = 0;
//这里有两个比较,一个是同一个点内部bfs试探出最大路径,另一个是不同点之间的最大路径比较,
int a = , b = ; //因此a,b分别表示该结果
char map, mapx; // map是模版,mapx会根据路径变化增加墙
int movex = ;
int movey = ;
void ;
void ;
int
void
void
10 10
......##..
...#....##
##.#..#...
.#.##....#
.#.##.#...
...##..#..
...##.....
.#.#..###.
#.#.#.
<15 bytes omitted>
用户输出
25
系统信息
Exited with return code 0
20 20
......##.....#....##
##.#..#....#.##....#
.#.##.#......##..#..
...##......#.#..###.
#.#.#.....
<325 bytes omitted>
用户输出
44
系统信息
Exited with return code 0
17 17
......##.....#...
.####.#..#....#.#
#....#.#.##.#....
..##..#.....##...
...#.#..###.#.#.#
....
<211 bytes omitted>
用户输出
31
系统信息
Exited with return code 0