0_0_30160980_32106.c:1:1: error: expected identifier or '(' before '/' token
// 21:51
^
0_0_30160980_32106.c:2:3: error: stray '#' in program
//#include<bits/stdc++.h>
^
0_0_30160980_32106.c:3:3: error: stray '#' in program
//#include<iostream>
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/_mingw.h:282:0,
from GCC4.9.2/x86_64-w64-mingw32/include/crtdefs.h:10,
from GCC4.9.2/x86_64-w64-mingw32/include/stdio.h:9,
from 0_0_30160980_32106.c:4:
GCC4.9.2/x86_64-w64-mingw32/include/vadefs.h:29:11: error: unknown type name '__gnuc_va_list'
typedef __gnuc_va_list va_list;
^
0_0_30160980_32106.c:11:5: error: variably modified 'c' at file scope
int c[N][N],pow2[N][N];
^
0_0_30160980_32106.c:11:5: error: variably modified 'c' at file scope
0_0_30160980_32106.c:11:13: error: variably modified 'pow2' at file scope
int c[N][N],pow2[N][N];
^
0_0_30160980_32106.c:11:13: error: variably modified 'pow2' at file scope
0_0_30160980_32106.c: In function 'Init':
0_0_30160980_32106.c:14:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=0;i<N;i++)
^
0_0_30160980_32106.c:14:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_30160980_32106.c:16:10: error: redefinition of 'i'
for(int i=1;i<N;i++)
^
0_0_30160980_32106.c:14:10: note: previous definition of 'i' was here
for(int i=0;i<N;i++)
^
0_0_30160980_32106.c:16:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=1;i<N;i++)
^
0_0_30160980_32106.c:17:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int j=1;j<=i;j++)
^
0_0_30160980_32106.c:20:13: error: storage size of '_p' isn't constant
static int _p[N];
^
0_0_30160980_32106.c:22:10: error: redefinition of 'i'
for(int i=1;i<N;i++)
^
0_0_30160980_32106.c:16:10: note: previous definition of 'i' was here
for(int i=1;i<N;i++)
^
0_0_30160980_32106.c:22:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=1;i<N;i++)
^
0_0_30160980_32106.c:25:10: error: redefinition of 'i'
for(int i=0;i<N;i++)
^
0_0_30160980_32106.c:22:10: note: previous definition of 'i' was here
for(int i=1;i<N;i++)
^
0_0_30160980_32106.c:25:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=0;i<N;i++)
^
0_0_30160980_32106.c:27:10: error: redefinition of 'j'
for(int j=1;j<N;j++)
^
0_0_30160980_32106.c:17:11: note: previous definition of 'j' was here
for(int j=1;j<=i;j++)
^
0_0_30160980_32106.c:27:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int j=1;j<N;j++)
^
0_0_30160980_32106.c:28:11: error: redefinition of 'i'
for(int i=0;i<N;i++)
^
0_0_30160980_32106.c:25:10: note: previous definition of 'i' was here
for(int i=0;i<N;i++)
^
0_0_30160980_32106.c:28:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=0;i<N;i++)
^
0_0_30160980_32106.c: In function 'Solve':
0_0_30160980_32106.c:35:13: error: storage size of 'fa' isn't constant
static int fa[N];
^
0_0_30160980_32106.c:36:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=1;i<=n-a;i++){
^
0_0_30160980_32106.c:38:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int j=b;j<=m;j++)
^
0_0_30160980_32106.c:43:13: error: storage size of 'g' isn't constant
static int g[N];
^
0_0_30160980_32106.c:44:10: error: redefinition of 'i'
for(int i=n;i>=a;i--){
^
0_0_30160980_32106.c:36:10: note: previous definition of 'i' was here
for(int i=1;i<=n-a;i++){
^
0_0_30160980_32106.c:44:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=n;i>=a;i--){
^
0_0_30160980_32106.c:46:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int j=i+1;j<=n;j++)
^
0_0_30160980_32106.c:51:10: error: redefinition of 'i'
for(int i=a;i<=n;i++)
^
0_0_30160980_32106.c:44:10: note: previous definition of 'i' was here
for(int i=n;i>=a;i--){
^
0_0_30160980_32106.c:51:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=a;i<=n;i++)
^
|