0_0_20695300_14939.cpp: In function 'int maxsubsum(int, int, int*)':
0_0_20695300_14939.cpp:13:7: error: 'i' was not declared in this scope
for( i=0;i<=m;i++){b[i][0]=0;}
^
0_0_20695300_14939.cpp:16:7: error: 'i' was not declared in this scope
for( i=1;i<=m;i++)
^
0_0_20695300_14939.cpp:18:8: error: 'j' was not declared in this scope
for( j=i;j<=n-m+i;j++)
^
0_0_20695300_14939.cpp:36:7: error: 'j' was not declared in this scope
for( j=m;j<=n;j++)
^
0_0_20695300_14939.cpp: At global scope:
0_0_20695300_14939.cpp:44:11: error: '::main' must return 'int'
void main()
^
0_0_20695300_14939.cpp: In function 'int main()':
0_0_20695300_14939.cpp:55:2: error: return-statement with no value, in function returning 'int' [-fpermissive]
return ;
^
|