0_0_24838014_23654.c: In function 'main':
0_0_24838014_23654.c:12:17: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=0;i<N;++i){
^
0_0_24838014_23654.c:12:17: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_24838014_23654.c:14:25: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int j=0;j<i;++j) C[A[i]+A[j]]++;
^
0_0_24838014_23654.c:16:25: error: redefinition of 'i'
for(int i=maxm-1;M;--i){
^
0_0_24838014_23654.c:12:25: note: previous definition of 'i' was here
for(int i=0;i<N;++i){
^
0_0_24838014_23654.c:16:17: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=maxm-1;M;--i){
^
|