#include <string> #include <utility> class Solution { public: int dx[4] = {-1, 1, 0, 0}; int dy[4] = {0, 0, -1, 1}; bool vis[101][101] = {false}; bool ans_v[101][101]={false}; // typedef struct the_point { // int x; // int y; // the_point() {}; // the_point(int _x, int _y): x(_x), y(_y) ...