深度优先 #include <vector> #include <iostream> #include <sstream> #include <string> using namespace std; int n = 0; int m = 0; vector<pair<int, int>> theOne; vector<vector<int>> dirs = {{-1, 0}, {0, 1}, {1, 0}, {0, -1}}; void findPath(vector<vector<...