运行 ID: 107796

Main.cc:6:92: error: too many initializers for ‘const int [4][2]’
 const int way[4][2] = {{1, 1}, {0, 1}, {1, 0}, {1, -1}, {1, -1}, {-1, 0}, {0, -1}, {-1, -1}}, N = 110;
                                                                                            ^
Main.cc: In function ‘int main()’:
Main.cc:41:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i = 0; i < vec.size(); i++) cout << vec[i].y << ' ' << vec[i].x << endl;
                 ~~^~~~~~~~~~~~