0_0_21528396_24956.c: In function 'init':
0_0_21528396_24956.c:21:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 1; i <= n; i++)
^
0_0_21528396_24956.c:21:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_21528396_24956.c:26:11: error: redefinition of 'i'
for (int i = n - 1; i >= 1; i--)
^
0_0_21528396_24956.c:21:11: note: previous definition of 'i' was here
for (int i = 1; i <= n; i++)
^
0_0_21528396_24956.c:26:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = n - 1; i >= 1; i--)
^
0_0_21528396_24956.c: In function 'nnt':
0_0_21528396_24956.c:38:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < M; i++)
^
0_0_21528396_24956.c:47:11: error: redefinition of 'i'
for (int i = 0; i < M; i++)
^
0_0_21528396_24956.c:38:11: note: previous definition of 'i' was here
for (int i = 0; i < M; i++)
^
0_0_21528396_24956.c:47:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < M; i++)
^
0_0_21528396_24956.c: In function 'main':
0_0_21528396_24956.c:61:1: error: expected expression before '/' token
// freopen("1006.in", "r", stdin);
^
0_0_21528396_24956.c:62:1: error: expected expression before '/' token
// freopen("output.txt", "w", stdout);
^
0_0_21528396_24956.c:67:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i <= n; i++) { scanf("%I64d", &cof[i]); }
^
0_0_21528396_24956.c:69:12: error: redefinition of 'i'
for (int i = 0; i < m; i++) { scanf("%I64d", &tmp); A -= tmp; if (A < 0) A += mod; }
^
0_0_21528396_24956.c:67:12: note: previous definition of 'i' was here
for (int i = 0; i <= n; i++) { scanf("%I64d", &cof[i]); }
^
0_0_21528396_24956.c:69:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < m; i++) { scanf("%I64d", &tmp); A -= tmp; if (A < 0) A += mod; }
^
0_0_21528396_24956.c:74:12: error: redefinition of 'i'
for (int i = 0; i <= n; i++)
^
0_0_21528396_24956.c:69:12: note: previous definition of 'i' was here
for (int i = 0; i < m; i++) { scanf("%I64d", &tmp); A -= tmp; if (A < 0) A += mod; }
^
0_0_21528396_24956.c:74:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i <= n; i++)
^
0_0_21528396_24956.c:79:12: error: redefinition of 'i'
for (int i = n + 1; i < lim; i++) { b[i] = c[i] = 0; }
^
0_0_21528396_24956.c:74:12: note: previous definition of 'i' was here
for (int i = 0; i <= n; i++)
^
0_0_21528396_24956.c:79:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = n + 1; i < lim; i++) { b[i] = c[i] = 0; }
^
0_0_21528396_24956.c:82:12: error: redefinition of 'i'
for (int i = 0; i < lim; i++) { b[i] = (b[i] * c[i] + mod) % mod; }
^
0_0_21528396_24956.c:79:12: note: previous definition of 'i' was here
for (int i = n + 1; i < lim; i++) { b[i] = c[i] = 0; }
^
0_0_21528396_24956.c:82:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < lim; i++) { b[i] = (b[i] * c[i] + mod) % mod; }
^
0_0_21528396_24956.c:85:12: error: redefinition of 'i'
for (int i = 0; i <= n; i++)
^
0_0_21528396_24956.c:82:12: note: previous definition of 'i' was here
for (int i = 0; i < lim; i++) { b[i] = (b[i] * c[i] + mod) % mod; }
^
0_0_21528396_24956.c:85:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i <= n; i++)
^
|