0_0_38154651_19887.cpp: In function 'int main()':
0_0_38154651_19887.cpp:7:12: error: missing template arguments before 'f'
vector f(2002, vector<int>(2002, -1));
^
0_0_38154651_19887.cpp: In lambda function:
0_0_38154651_19887.cpp:10:13: error: 'f' was not declared in this scope
if (f[x][y] != -1) return f[x][y];
^
0_0_38154651_19887.cpp:11:9: error: 'f' was not declared in this scope
f[x][y] = 0;
^
0_0_38154651_19887.cpp: In function 'int main()':
0_0_38154651_19887.cpp:22:13: error: 'f' was not declared in this scope
if (f[n][m] == true) cout << "Wonderful!\n";
^
|