0_0_17302169_17251.c:6:1: error: initializer element is not constant
const int N = 14, M = N * N, MOD = 1000000009;
^
0_0_17302169_17251.c:8:14: error: variably modified 'adj' at file scope
int n, m, k, adj[N];
^
0_0_17302169_17251.c:9:5: error: variably modified 'f' at file scope
int f[1 << N][N + 1], cnt[1 << N], ctz[1 << N];
^
0_0_17302169_17251.c:9:5: error: variably modified 'f' at file scope
0_0_17302169_17251.c:9:23: error: variably modified 'cnt' at file scope
int f[1 << N][N + 1], cnt[1 << N], ctz[1 << N];
^
0_0_17302169_17251.c:9:36: error: variably modified 'ctz' at file scope
int f[1 << N][N + 1], cnt[1 << N], ctz[1 << N];
^
0_0_17302169_17251.c:11:5: error: variably modified 'a' at file scope
int a[M], b[M];
^
0_0_17302169_17251.c:11:11: error: variably modified 'b' at file scope
int a[M], b[M];
^
0_0_17302169_17251.c: In function 'main':
0_0_17302169_17251.c:14:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < (1 << N); ++i) cnt[i] = __builtin_popcount(i), ctz[i] = __builtin_ctz(i);
^
0_0_17302169_17251.c:14:3: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_17302169_17251.c:17:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int tid = 1; tid <= tcase; ++tid) {
^
0_0_17302169_17251.c:20:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < n; ++i) adj[i] = 0;
^
0_0_17302169_17251.c:21:14: error: redefinition of 'i'
for (int i = 0; i < m; ++i) scanf("%d%d", &a[i], &b[i]), --a[i], --b[i];
^
0_0_17302169_17251.c:20:14: note: previous definition of 'i' was here
for (int i = 0; i < n; ++i) adj[i] = 0;
^
0_0_17302169_17251.c:21:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < m; ++i) scanf("%d%d", &a[i], &b[i]), --a[i], --b[i];
^
0_0_17302169_17251.c:24:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int s = 0; s < (1 << n); ++s) {
^
0_0_17302169_17251.c:25:7: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int t = (s - 1) & s; t; t = (t - 1) & s) {
^
0_0_17302169_17251.c:27:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 2; i <= cnt[s]; ++i) f[s][i] = (f[s][i] + (i64)f[t][1] * f[s ^ t][i - 1]) % MOD;
^
0_0_17302169_17251.c:30:7: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < m; ++i) if ((s >> a[i] & 1) && (s >> b[i] & 1)) f[s][1] = 2LL * f[s][1] % MOD;
^
0_0_17302169_17251.c:31:16: error: redefinition of 'i'
for (int i = 2; i <= cnt[s]; ++i) f[s][1] = (f[s][1] - f[s][i] + MOD) % MOD;
^
0_0_17302169_17251.c:30:16: note: previous definition of 'i' was here
for (int i = 0; i < m; ++i) if ((s >> a[i] & 1) && (s >> b[i] & 1)) f[s][1] = 2LL * f[s][1] % MOD;
^
0_0_17302169_17251.c:31:7: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 2; i <= cnt[s]; ++i) f[s][1] = (f[s][1] - f[s][i] + MOD) % MOD;
^
|