0_0_26907389_24860.cpp: In function 'int main()':
0_0_26907389_24860.cpp:3:21: error: expected ']' before ';' token
#define maxium 11000;
^
0_0_26907389_24860.cpp:10:10: note: in expansion of macro 'maxium'
int num[maxium];
^
0_0_26907389_24860.cpp:10:16: error: expected primary-expression before ']' token
int num[maxium];
^
0_0_26907389_24860.cpp:3:21: error: expected ']' before ';' token
#define maxium 11000;
^
0_0_26907389_24860.cpp:11:9: note: in expansion of macro 'maxium'
int dp[maxium][maxium];
^
0_0_26907389_24860.cpp:11:15: error: expected primary-expression before ']' token
int dp[maxium][maxium];
^
0_0_26907389_24860.cpp:11:23: error: expected primary-expression before ']' token
int dp[maxium][maxium];
^
0_0_26907389_24860.cpp:21:16: error: 'num' was not declared in this scope
scanf("%d",&num[i]);
^
0_0_26907389_24860.cpp:22:4: error: 'dp' was not declared in this scope
dp[i][i]=num[i];
^
0_0_26907389_24860.cpp:28:5: error: 'dp' was not declared in this scope
dp[i][j]=dp[i][j-1]+num[i][j];
^
0_0_26907389_24860.cpp:28:25: error: 'num' was not declared in this scope
dp[i][j]=dp[i][j-1]+num[i][j];
^
0_0_26907389_24860.cpp:38:8: error: 'dp' was not declared in this scope
if(dp[i][j]>max)
^
0_0_26907389_24860.cpp:50:27: error: 'num' was not declared in this scope
printf("%d %d %d\n",max,num[posi],[posj]);
^
0_0_26907389_24860.cpp: In lambda function:
0_0_26907389_24860.cpp:50:43: error: expected '{' before ')' token
printf("%d %d %d\n",max,num[posi],[posj]);
^
|