0_0_37718658_6231.cpp: In function 'int main()':
0_0_37718658_6231.cpp:134:14: error: missing template arguments before 'vis'
vector vis(n, vector<bool>(m, false)), f(n, vector<bool>(m, false));
^
0_0_37718658_6231.cpp:141:15: error: 'f' was not declared in this scope
f[x][y] = true;
^
0_0_37718658_6231.cpp:147:9: error: 'f' was not declared in this scope
f[i][0] = f[i][m - 1] = 1;
^
0_0_37718658_6231.cpp:150:9: error: 'f' was not declared in this scope
f[0][i] = f[n - 1][i] = 1;
^
0_0_37718658_6231.cpp: In lambda function:
0_0_37718658_6231.cpp:156:13: error: 'vis' was not declared in this scope
if (vis[x][y] || f[x][y]) {
^
0_0_37718658_6231.cpp:156:26: error: 'f' was not declared in this scope
if (vis[x][y] || f[x][y]) {
^
0_0_37718658_6231.cpp:162:9: error: 'vis' was not declared in this scope
vis[x][y] = true;
^
|