#include <iostream> using namespace std; #include <vector> vector<pair<int, int>> result; void dfs(vector<vector<int>>& maze, int i, int j, vector<pair<int, int>>& road) { //向路径加入元素 road.push_back(pair<int, int>(i, j)); maz...