0_0_37622350_13280.cpp: In function 'int main()': 0_0_37622350_13280.cpp:55:21: error: 'ans' was not declared in this scope ans = max(ans, f[i][j]); ^ 0_0_37622350_13280.cpp:58:21: error: 'ans' was not declared in this scope cout << ans << endl; ^