0_0_33262665_18700.cpp: In function 'int main()': 0_0_33262665_18700.cpp:81:55: error: 'val1' was not declared in this scope if(j + 1 <=m && i + 1 <= n && val1 < v + a[i][j])val1 = v + a[i][j]; ^