0_0_34836393_2505.cpp:6:1: error: stray '\261' in program
int dp[maxn][maxn]; 表示走到dp[i][j]的最大和
^
0_0_34836393_2505.cpp:6:1: error: stray '\355' in program
0_0_34836393_2505.cpp:6:1: error: stray '\312' in program
0_0_34836393_2505.cpp:6:1: error: stray '\276' in program
0_0_34836393_2505.cpp:6:1: error: stray '\327' in program
0_0_34836393_2505.cpp:6:1: error: stray '\337' in program
0_0_34836393_2505.cpp:6:1: error: stray '\265' in program
0_0_34836393_2505.cpp:6:1: error: stray '\275' in program
0_0_34836393_2505.cpp:6:1: error: stray '\265' in program
0_0_34836393_2505.cpp:6:1: error: stray '\304' in program
0_0_34836393_2505.cpp:6:1: error: stray '\327' in program
0_0_34836393_2505.cpp:6:1: error: stray '\356' in program
0_0_34836393_2505.cpp:6:1: error: stray '\264' in program
0_0_34836393_2505.cpp:6:1: error: stray '\363' in program
0_0_34836393_2505.cpp:6:1: error: stray '\272' in program
0_0_34836393_2505.cpp:6:1: error: stray '\315' in program
0_0_34836393_2505.cpp:21:4: error: stray '\263' in program
dp[n][i] = a[n][i]; /初始值
^
0_0_34836393_2505.cpp:21:4: error: stray '\365' in program
0_0_34836393_2505.cpp:21:4: error: stray '\312' in program
0_0_34836393_2505.cpp:21:4: error: stray '\274' in program
0_0_34836393_2505.cpp:21:4: error: stray '\326' in program
0_0_34836393_2505.cpp:21:4: error: stray '\265' in program
0_0_34836393_2505.cpp:27:5: error: stray '\327' in program
dp[i][j] = max(dp[i + 1][j], dp[i + 1][j + 1]) + a[i][j]; 状态转移方程
^
0_0_34836393_2505.cpp:27:5: error: stray '\264' in program
0_0_34836393_2505.cpp:27:5: error: stray '\314' in program
0_0_34836393_2505.cpp:27:5: error: stray '\254' in program
0_0_34836393_2505.cpp:27:5: error: stray '\327' in program
0_0_34836393_2505.cpp:27:5: error: stray '\252' in program
0_0_34836393_2505.cpp:27:5: error: stray '\322' in program
0_0_34836393_2505.cpp:27:5: error: stray '\306' in program
0_0_34836393_2505.cpp:27:5: error: stray '\267' in program
0_0_34836393_2505.cpp:27:5: error: stray '\275' in program
0_0_34836393_2505.cpp:27:5: error: stray '\263' in program
0_0_34836393_2505.cpp:27:5: error: stray '\314' in program
0_0_34836393_2505.cpp:6:30: error: 'dp' does not name a type
int dp[maxn][maxn]; 表示走到dp[i][j]的最大和
^
0_0_34836393_2505.cpp: In function 'int main()':
0_0_34836393_2505.cpp:18:12: error: 'a' was not declared in this scope
cin >> a[i][j];
^
0_0_34836393_2505.cpp:21:15: error: 'a' was not declared in this scope
dp[n][i] = a[n][i]; /初始值
^
0_0_34836393_2505.cpp:21:25: error: expected primary-expression before '/' token
dp[n][i] = a[n][i]; /初始值
^
0_0_34836393_2505.cpp:22:3: error: expected primary-expression before '}' token
}
^
0_0_34836393_2505.cpp:27:54: error: 'a' was not declared in this scope
dp[i][j] = max(dp[i + 1][j], dp[i + 1][j + 1]) + a[i][j]; 状态转移方程
^
|