0_0_33536463_19093.c:8:2: error: variably modified 'e' at file scope
}e[500 * N];
^
0_0_33536463_19093.c:11:5: error: variably modified 'head' at file scope
int head[N];
^
0_0_33536463_19093.c:12:5: error: variably modified 'd' at file scope
int d[N];
^
0_0_33536463_19093.c:20:5: error: variably modified 'q' at file scope
int q[N * N * N];
^
0_0_33536463_19093.c: In function 'bfs':
0_0_33536463_19093.c:29:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i=head[cur];i!=-1;i=e[i].nxt) {
^
0_0_33536463_19093.c:29:9: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_33536463_19093.c: In function 'dfs':
0_0_33536463_19093.c:42:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i=head[a];i!=-1 && r<b;i=e[i].nxt) {
^
0_0_33536463_19093.c: In function 'main':
0_0_33536463_19093.c:67:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i=1;i<=m;i++) {
^
0_0_33536463_19093.c:72:6: error: expected ')' at end of input
printf ("%d\n", dinic (sp, tp)%2
^
0_0_33536463_19093.c:72:6: error: expected declaration or statement at end of input
0_0_33536463_19093.c:72:6: error: expected declaration or statement at end of input
|