0_0_18386781_28979.cpp:7:1: error: '_int64' does not name a type
_int64 maze[21][1001];
^
0_0_18386781_28979.cpp:8:1: error: '_int64' does not name a type
_int64 DP[21][1001];
^
0_0_18386781_28979.cpp: In function 'void init()':
0_0_18386781_28979.cpp:14:2: error: 'DP' was not declared in this scope
DP[i][j] = inf;
^
0_0_18386781_28979.cpp:15:2: error: 'DP' was not declared in this scope
DP[1][1] = maze[1][1];
^
0_0_18386781_28979.cpp:15:13: error: 'maze' was not declared in this scope
DP[1][1] = maze[1][1];
^
0_0_18386781_28979.cpp: In function 'int main()':
0_0_18386781_28979.cpp:34:15: error: 'maze' was not declared in this scope
scanf("%d",&maze[i][j]);
^
0_0_18386781_28979.cpp:44:5: error: 'DP' was not declared in this scope
DP[i][j] = max(DP[i][j],DP[i][j/k]+maze[i][j]);
^
0_0_18386781_28979.cpp:44:40: error: 'maze' was not declared in this scope
DP[i][j] = max(DP[i][j],DP[i][j/k]+maze[i][j]);
^
0_0_18386781_28979.cpp:46:5: error: 'DP' was not declared in this scope
DP[i][j] = max(DP[i][j],DP[i-1][j]+maze[i][j]);
^
0_0_18386781_28979.cpp:46:40: error: 'maze' was not declared in this scope
DP[i][j] = max(DP[i][j],DP[i-1][j]+maze[i][j]);
^
0_0_18386781_28979.cpp:49:19: error: 'DP' was not declared in this scope
printf("%lld\n",DP[n][m]);
^
|