0_0_21838782_2751.cpp:11:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_21838782_2751.cpp:13:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_21838782_2751.cpp:18:26: error: template argument 2 is invalid
typedef pair <int, int=""> PLL;
^
0_0_21838782_2751.cpp:18:31: error: invalid type in declaration before ';' token
typedef pair <int, int=""> PLL;
^
0_0_21838782_2751.cpp:19:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_21838782_2751.cpp:22:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_21838782_2751.cpp: In function 'int main()':
0_0_21838782_2751.cpp:25:2: error: 'nbsp' was not declared in this scope
int t;
^
0_0_21838782_2751.cpp:37:114: error: 'i' was not declared in this scope
scanf("%d", &mat[i][j]);
^
0_0_21838782_2751.cpp:37:117: error: 'j' was not declared in this scope
scanf("%d", &mat[i][j]);
^
0_0_21838782_2751.cpp:43:76: error: 'i' was not declared in this scope
dp[i][1][0] = dp[i - 1][1][0] + mat[i][1];
^
0_0_21838782_2751.cpp:49:100: error: 'i' was not declared in this scope
dp[i][j][2] = max (dp[i][j - 1][0], max (dp[i][j - 1][1], dp[i][j - 1][2])) + mat[i][j];
^
0_0_21838782_2751.cpp:49:103: error: 'j' was not declared in this scope
dp[i][j][2] = max (dp[i][j - 1][0], max (dp[i][j - 1][1], dp[i][j - 1][2])) + mat[i][j];
^
0_0_21838782_2751.cpp:53:100: error: 'i' was not declared in this scope
dp[i][j][0] = max (dp[i - 1][j][0], dp[i - 1][j][2]) + mat[i][j];
^
0_0_21838782_2751.cpp:53:103: error: 'j' was not declared in this scope
dp[i][j][0] = max (dp[i - 1][j][0], dp[i - 1][j][2]) + mat[i][j];
^
0_0_21838782_2751.cpp:57:100: error: 'i' was not declared in this scope
dp[i][j][1] = max (dp[i + 1][j][2], dp[i + 1][j][1]) + mat[i][j];
^
0_0_21838782_2751.cpp:57:103: error: 'j' was not declared in this scope
dp[i][j][1] = max (dp[i + 1][j][2], dp[i + 1][j][1]) + mat[i][j];
^
0_0_21838782_2751.cpp:63:25: error: expected '}' at end of input
}
^
|