bob.cpp: In function 'int main()':
bob.cpp:16:12: error: missing template arguments before 'v'
16 | vector v(n, vector<int>(m));
| ^
bob.cpp:18:20: error: 'v' was not declared in this scope; did you mean 'vi'?
18 | for(auto& vi : v) for(int& x: vi) cin >> x;
| ^
| vi
bob.cpp:20:12: error: missing template arguments before 'dp'
20 | vector dp(n, vector<ll>(m));
| ^~
bob.cpp:30:13: error: 'dp' was not declared in this scope
30 | dp[i][j] = 1;
| ^~
bob.cpp:34:36: error: 'v' was not declared in this scope
34 | if(isValid(i-1, j) and v[i-1][j] == v[i][j]) {
| ^
bob.cpp:39:36: error: 'v' was not declared in this scope
39 | if(isValid(i, j-1) and v[i][j] == v[i][j-1]) {
| ^
bob.cpp:44:46: error: 'v' was not declared in this scope
44 | if(isValid(i-1, j-1) and adj and v[i-1][j-1] == v[i][j])
| ^