0_0_37266948_30757.cpp:3:23: error: 'vector' has not been declared
int minimumTotal(vector<vector<int> > &triangle) {
^
0_0_37266948_30757.cpp:3:29: error: expected ',' or '...' before '<' token
int minimumTotal(vector<vector<int> > &triangle) {
^
0_0_37266948_30757.cpp: In member function 'int Solution::minimumTotal(int)':
0_0_37266948_30757.cpp:4:23: error: 'triangle' was not declared in this scope
for (int i = triangle.size() - 2; i >= 0; --i)
^
0_0_37266948_30757.cpp:6:92: error: 'min' was not declared in this scope
triangle[i][j] = triangle[i][j] + min(triangle[i+1][j], triangle[i+1][j+1]);
^
0_0_37266948_30757.cpp:7:17: error: 'triangle' was not declared in this scope
return triangle[0][0];
^
|