0_0_17201056_29657.cpp:67:2: error: stray '#' in program
}#include <cstdio>
^
0_0_17201056_29657.cpp:94:2: error: stray '#' in program
}#include <cstdio>
^
0_0_17201056_29657.cpp:125:2: error: stray '#' in program
}#include <cstdio>
^
0_0_17201056_29657.cpp:198:2: error: stray '#' in program
}#include <cstdio>
^
0_0_17201056_29657.cpp:268:2: error: stray '#' in program
}#include <cstdio>
^
0_0_17201056_29657.cpp: In function 'int main()':
0_0_17201056_29657.cpp:39:5: error: redefinition of 'int main()'
int main(){
^
0_0_17201056_29657.cpp:6:5: note: 'int main()' previously defined here
int main(){
^
0_0_17201056_29657.cpp: At global scope:
0_0_17201056_29657.cpp:67:3: error: 'include' does not name a type
}#include <cstdio>
^
0_0_17201056_29657.cpp: In function 'int main()':
0_0_17201056_29657.cpp:73:5: error: redefinition of 'int main()'
int main(){
^
0_0_17201056_29657.cpp:6:5: note: 'int main()' previously defined here
int main(){
^
0_0_17201056_29657.cpp: At global scope:
0_0_17201056_29657.cpp:94:3: error: 'include' does not name a type
}#include <cstdio>
^
0_0_17201056_29657.cpp:99:16: error: conflicting declaration 'int dp [101][101]'
int dp[101][101];
^
0_0_17201056_29657.cpp:37:5: note: previous declaration as 'int dp [500002]'
int dp[inf];
^
0_0_17201056_29657.cpp: In function 'int main()':
0_0_17201056_29657.cpp:100:5: error: redefinition of 'int main()'
int main()
^
0_0_17201056_29657.cpp:6:5: note: 'int main()' previously defined here
int main(){
^
0_0_17201056_29657.cpp:111:10: error: invalid types 'int[int]' for array subscript
dp[1][1]=1;
^
0_0_17201056_29657.cpp:118:21: error: invalid types 'int[int]' for array subscript
dp[i+k][j+l]=(dp[i+k][j+l]+dp[i][j])%10000;
^
0_0_17201056_29657.cpp:118:35: error: invalid types 'int[int]' for array subscript
dp[i+k][j+l]=(dp[i+k][j+l]+dp[i][j])%10000;
^
0_0_17201056_29657.cpp:118:44: error: invalid types 'int[int]' for array subscript
dp[i+k][j+l]=(dp[i+k][j+l]+dp[i][j])%10000;
^
0_0_17201056_29657.cpp:123:25: error: invalid types 'int[int]' for array subscript
printf("%d/n",dp[N][M]);
^
0_0_17201056_29657.cpp: At global scope:
0_0_17201056_29657.cpp:125:3: error: 'include' does not name a type
}#include <cstdio>
^
0_0_17201056_29657.cpp: In function 'int main()':
0_0_17201056_29657.cpp:128:5: error: redefinition of 'int main()'
int main(){
^
0_0_17201056_29657.cpp:6:5: note: 'int main()' previously defined here
int main(){
^
0_0_17201056_29657.cpp:133:24: error: invalid types 'int[int]' for array subscript
dp[0][i][j]=dp[1][i][j]=0;
^
0_0_17201056_29657.cpp:133:36: error: invalid types 'int[int]' for array subscript
dp[0][i][j]=dp[1][i][j]=0;
^
0_0_17201056_29657.cpp:137:20: error: invalid types 'int[int]' for array subscript
dp[1-pre][0][1]=map[1][0]+map[1][1];
^
0_0_17201056_29657.cpp:145:34: error: invalid types 'int[int]' for array subscript
dp[pre][j][k]=(dp[1-pre][j][k]>dp[1-pre][j][k-1]?dp[1-pre][j][k]:dp[1-pre][j][k-1])+map[i][j]+map[i][k];
^
0_0_17201056_29657.cpp:145:51: error: invalid types 'int[int]' for array subscript
dp[pre][j][k]=(dp[1-pre][j][k]>dp[1-pre][j][k-1]?dp[1-pre][j][k]:dp[1-pre][j][k-1])+map[i][j]+map[i][k];
^
0_0_17201056_29657.cpp:145:67: error: invalid types 'int[int]' for array subscript
dp[pre][j][k]=(dp[1-pre][j][k]>dp[1-pre][j][k-1]?dp[1-pre][j][k]:dp[1-pre][j][k-1])+map[i][j]+map[i][k];
^
0_0_17201056_29657.cpp:145:85: error: invalid types 'int[int]' for array subscript
dp[pre][j][k]=(dp[1-pre][j][k]>dp[1-pre][j][k-1]?dp[1-pre][j][k]:dp[1-pre][j][k-1])+map[i][j]+map[i][k];
^
0_0_17201056_29657.cpp:145:101: error: invalid types 'int[int]' for array subscript
dp[pre][j][k]=(dp[1-pre][j][k]>dp[1-pre][j][k-1]?dp[1-pre][j][k]:dp[1-pre][j][k-1])+map[i][j]+map[i][k];
^
0_0_17201056_29657.cpp:147:38: error: invalid types 'int[int]' for array subscript
w=dp[1-pre][j][k]>dp[1-pre][j][k-1]?dp[1-pre][j][k]:dp[1-pre][j][k-1];
^
0_0_17201056_29657.cpp:147:54: error: invalid types 'int[int]' for array subscript
w=dp[1-pre][j][k]>dp[1-pre][j][k-1]?dp[1-pre][j][k]:dp[1-pre][j][k-1];
^
0_0_17201056_29657.cpp:147:72: error: invalid types 'int[int]' for array subscript
w=dp[1-pre][j][k]>dp[1-pre][j][k-1]?dp[1-pre][j][k]:dp[1-pre][j][k-1];
^
0_0_17201056_29657.cpp:147:88: error: invalid types 'int[int]' for array subscript
w=dp[1-pre][j][k]>dp[1-pre][j][k-1]?dp[1-pre][j][k]:dp[1-pre][j][k-1];
^
0_0_17201056_29657.cpp:148:40: error: invalid types 'int[int]' for array subscript
m=dp[1-pre][j-1][k]>dp[1-pre][j-1][k-1]?dp[1-pre][j-1][k]:dp[1-pre][j-1][k-1];
^
0_0_17201056_29657.cpp:148:58: error: invalid types 'int[int]' for array subscript
m=dp[1-pre][j-1][k]>dp[1-pre][j-1][k-1]?dp[1-pre][j-1][k]:dp[1-pre][j-1][k-1];
^
0_0_17201056_29657.cpp:148:78: error: invalid types 'int[int]' for array subscript
m=dp[1-pre][j-1][k]>dp[1-pre][j-1][k-1]?dp[1-pre][j-1][k]:dp[1-pre][j-1][k-1];
^
0_0_17201056_29657.cpp:148:96: error: invalid types 'int[int]' for array subscript
m=dp[1-pre][j-1][k]>dp[1-pre][j-1][k-1]?dp[1-pre][j-1][k]:dp[1-pre][j-1][k-1];
^
0_0_17201056_29657.cpp:149:34: error: invalid types 'int[int]' for array subscript
dp[pre][j][k]=(w>m?w:m)+map[i][j]+map[i][k];
^
0_0_17201056_29657.cpp:155:36: error: invalid types 'int[int]' for array subscript
printf("%d/n",dp[1-pre][n-2][n-1]+map[0][0]+map[2*n-2][n-1]);
^
0_0_17201056_29657.cpp: At global scope:
0_0_17201056_29657.cpp:162:5: error: redefinition of 'int N'
int N,sum;
^
0_0_17201056_29657.cpp:97:5: note: 'int N' previously declared here
int N,M;
^
0_0_17201056_29657.cpp: In function 'int main()':
0_0_17201056_29657.cpp:166:5: error: redefinition of 'int main()'
int main(){
^
0_0_17201056_29657.cpp:6:5: note: 'int main()' previously defined here
int main(){
^
0_0_17201056_29657.cpp: At global scope:
0_0_17201056_29657.cpp:198:3: error: 'include' does not name a type
}#include <cstdio>
^
0_0_17201056_29657.cpp:70:14: error: expected unqualified-id before numeric constant
#define maxn 2000+1
^
0_0_17201056_29657.cpp:200:11: note: in expansion of macro 'maxn'
const int maxn=100010;
^
0_0_17201056_29657.cpp:201:5: error: redefinition of 'int N'
int N;
^
0_0_17201056_29657.cpp:97:5: note: 'int N' previously declared here
int N,M;
^
0_0_17201056_29657.cpp:203:12: error: conflicting declaration 'int dp [2001]'
int dp[maxn];
^
0_0_17201056_29657.cpp:37:5: note: previous declaration as 'int dp [500002]'
int dp[inf];
^
0_0_17201056_29657.cpp: In function 'int main()':
0_0_17201056_29657.cpp:207:5: error: redefinition of 'int main()'
int main(){
^
0_0_17201056_29657.cpp:6:5: note: 'int main()' previously defined here
int main(){
^
0_0_17201056_29657.cpp: At global scope:
0_0_17201056_29657.cpp:70:14: error: expected unqualified-id before numeric constant
#define maxn 2000+1
^
0_0_17201056_29657.cpp:235:11: note: in expansion of macro 'maxn'
const int maxn=100010;
^
0_0_17201056_29657.cpp:236:5: error: redefinition of 'int N'
int N;
^
0_0_17201056_29657.cpp:97:5: note: 'int N' previously declared here
int N,M;
^
0_0_17201056_29657.cpp:237:17: error: conflicting declaration 'long long int h [2001]'
long long h[maxn];
^
0_0_17201056_29657.cpp:202:5: note: previous declaration as 'int h [2001]'
int h[maxn];
^
0_0_17201056_29657.cpp:238:21: error: conflicting declaration 'long long int dp [2][2001]'
long long dp[2][maxn];
^
0_0_17201056_29657.cpp:37:5: note: previous declaration as 'int dp [500002]'
int dp[inf];
^
0_0_17201056_29657.cpp: In function 'int main()':
0_0_17201056_29657.cpp:240:5: error: redefinition of 'int main()'
int main(){
^
0_0_17201056_29657.cpp:6:5: note: 'int main()' previo
|